Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012621Openbravo ERPY. DBSourceManagerpublic2010-03-09 18:562010-03-16 00:00
marvintm 
marvintm 
urgentmajorhave not tried
closedfixed 
5
2.50MP12 
2.50MP142.50MP14 
Core
No
0012621: export.config.script generates useless changes when more than one template exists in the system
When doing export.config.script on MP12/13, if there is more than one configuration script in the system, sometimes useless data changes such as this one:

    <columnDataChange tablename="AD_FIELD" columnname="SEQNO" pkRow="997">
      <oldValue><![CDATA[50]]></oldValue>
      <newValue><![CDATA[50]]></newValue>
    </columnDataChange>

are generated. These changes (obviously) don't have any functional impact on the usage of the script, but they shouldn't be generated.
- Install Openbravo Quickstart Spain on MP12 or MP13.
- Set the Openbravo Quickstart Spain template as in development.
- Do ant export.config.script

Notice that changes such as this one:

    <columnDataChange tablename="AD_FIELD" columnname="SEQNO" pkRow="997">
      <oldValue><![CDATA[50]]></oldValue>
      <newValue><![CDATA[50]]></newValue>
    </columnDataChange>

exist in the script.
DBSourceManager needs to be fixed to address this problem.
No tags attached.
Issue History
2010-03-09 18:56marvintmNew Issue
2010-03-09 18:56marvintmAssigned To => marvintm
2010-03-09 18:58marvintmPrioritynormal => urgent
2010-03-11 10:01hgbotCheckin
2010-03-11 10:01hgbotNote Added: 0025231
2010-03-11 10:01hgbotStatusnew => resolved
2010-03-11 10:01hgbotResolutionopen => fixed
2010-03-11 10:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dbccf72a233e6afdcc74e47bc847dca58c22fa70 [^]
2010-03-12 22:41hudsonbotCheckin
2010-03-12 22:41hudsonbotNote Added: 0025423
2010-03-15 16:16iperdomoNote Added: 0025481
2010-03-15 16:16iperdomoStatusresolved => closed
2010-03-15 16:16iperdomoFixed in Version => 2.50MP14
2010-03-16 00:00anonymoussf_bug_id0 => 2970943

Notes
(0025231)
hgbot   
2010-03-11 10:01   
Repository: erp/devel/pi
Changeset: dbccf72a233e6afdcc74e47bc847dca58c22fa70
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Mar 09 19:05:53 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dbccf72a233e6afdcc74e47bc847dca58c22fa70 [^]

Fixed issue 12621. Now useless data changes (which change something from X to X, that is, they don't change anything at all) will no longer be generated when exporting a configuration script.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0025423)
hudsonbot   
2010-03-12 22:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/dbccf72a233e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0025481)
iperdomo   
2010-03-15 16:16   
Tested on pi @ rev fa921f62e428