details:   /erp/devel/main/rev/acf15c4cab5c
changeset: 8367:acf15c4cab5c
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Thu Sep 09 13:40:34 2010 +0200
summary:   Fixes issue 14395: Strange behaviour updating a dataset

details:   /erp/devel/main/rev/c135d149a438
changeset: 8368:c135d149a438
user:      RM packaging bot <staff.rm <at> openbravo.com>
date:      Fri Sep 10 07:07:08 2010 +0000
summary:   CI: promote changesets from pi to main

diffstat:

 src-db/database/sourcedata/AD_MODULE.xml          |  2 +-
 src/org/openbravo/dal/xml/XMLEntityConverter.java |  1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 1a70d010c512 -r c135d149a438 src-db/database/sourcedata/AD_MODULE.xml
--- a/src-db/database/sourcedata/AD_MODULE.xml  Thu Sep 09 11:58:24 2010 +0200
+++ b/src-db/database/sourcedata/AD_MODULE.xml  Fri Sep 10 07:07:08 2010 +0000
@@ -6,7 +6,7 @@
 <!--0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0-->  <NAME><![CDATA[core]]></NAME>
-<!--0-->  <VERSION><![CDATA[2.50.18350]]></VERSION>
+<!--0-->  <VERSION><![CDATA[2.50.18367]]></VERSION>
 <!--0-->  <DESCRIPTION><![CDATA[Core module is the base one]]></DESCRIPTION>
 <!--0-->  <HELP><![CDATA[Core module is the base one, all developments in core 
are included as part of the standard Openbravo ERP.]]></HELP>
 <!--0-->  <URL><![CDATA[www.openbravo.com]]></URL>
diff -r 1a70d010c512 -r c135d149a438 
src/org/openbravo/dal/xml/XMLEntityConverter.java
--- a/src/org/openbravo/dal/xml/XMLEntityConverter.java Thu Sep 09 11:58:24 
2010 +0200
+++ b/src/org/openbravo/dal/xml/XMLEntityConverter.java Fri Sep 10 07:07:08 
2010 +0000
@@ -301,6 +301,7 @@
             }
 
             final boolean hasChanged = (currentValue == null && newValue != 
null)
+                || (currentValue != null && newValue == null)
                 || (currentValue != null && newValue != null && 
!currentValue.equals(newValue));
             if (hasChanged) {
               log.debug("Setting value " + newValue);

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to