Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012621
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorhave not tried2010-03-09 18:562010-03-16 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version2.50MP14
StatusclosedFix in branchFixed in SCM revisiondbccf72a233e
ProjectionnoneETAnoneTarget Version2.50MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP12SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012621: export.config.script generates useless changes when more than one template exists in the system

DescriptionWhen 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.
Steps To Reproduce- 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.
Proposed SolutionDBSourceManager needs to be fixed to address this problem.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025231)
hgbot (developer)
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 (developer)
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 (reporter)
2010-03-15 16:16

Tested on pi @ rev fa921f62e428

- Issue History
Date Modified Username Field Change
2010-03-09 18:56 marvintm New Issue
2010-03-09 18:56 marvintm Assigned To => marvintm
2010-03-09 18:58 marvintm Priority normal => urgent
2010-03-11 10:01 hgbot Checkin
2010-03-11 10:01 hgbot Note Added: 0025231
2010-03-11 10:01 hgbot Status new => resolved
2010-03-11 10:01 hgbot Resolution open => fixed
2010-03-11 10:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dbccf72a233e6afdcc74e47bc847dca58c22fa70 [^]
2010-03-12 22:41 hudsonbot Checkin
2010-03-12 22:41 hudsonbot Note Added: 0025423
2010-03-15 16:16 iperdomo Note Added: 0025481
2010-03-15 16:16 iperdomo Status resolved => closed
2010-03-15 16:16 iperdomo Fixed in Version => 2.50MP14
2010-03-16 00:00 anonymous sf_bug_id 0 => 2970943


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker