hotfix/BF3564464 Import File Loader discards input records , https://sourceforge.net/tracker/?func=detail&aid=3564464&group_id=176962&atid=879332 IDEMPIERE-431

This commit is contained in:
eugenh 2015-02-26 09:51:50 -05:00
parent 30e89568b7
commit 2bca265f59
1 changed files with 8 additions and 4 deletions

View File

@ -37,8 +37,10 @@ import org.compiere.util.Env;
* @author Jorg Janke * @author Jorg Janke
* @author Trifon Trifonov, Catura AG (www.catura.de) * @author Trifon Trifonov, Catura AG (www.catura.de)
* <li>FR [ 3010957 ] Custom Separator Character, http://sourceforge.net/tracker/?func=detail&aid=3010957&group_id=176962&atid=879335 </li> * <li>FR [ 3010957 ] Custom Separator Character, http://sourceforge.net/tracker/?func=detail&aid=3010957&group_id=176962&atid=879335 </li>
* @author eugen.hanussek@klst.com
* @version $Id: ImpFormat.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $ * <li>BF [ 3564464 ] Import File Loader discards input records , https://sourceforge.net/tracker/?func=detail&aid=3564464&group_id=176962&atid=879332 </li>
*
* @version $Id$
*/ */
public final class ImpFormat public final class ImpFormat
{ {
@ -617,8 +619,10 @@ public final class ImpFormat
} }
if (log.isLoggable(Level.FINER)) log.finer("New ID=" + ID + " " + find); if (log.isLoggable(Level.FINER)) log.finer("New ID=" + ID + " " + find);
} }
else else {
if (log.isLoggable(Level.FINER)) log.finer("Old ID=" + ID + " " + find); log.warning("Not Inserted, Old ID=" + ID + " " + find);
return false;
}
// Update Info ------------------------------------------------------- // Update Info -------------------------------------------------------
sql = new StringBuilder ("UPDATE ") sql = new StringBuilder ("UPDATE ")