Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018397Openbravo ERPY. DBSourceManagerpublic2011-08-31 12:012011-09-01 22:09
marvintm 
marvintm 
normalminorhave not tried
closedfixed 
5
 
3.0MP33.0MP3 
Core
No
0018397: When export.config.script is executed, a number of false changes are shown
When export.config.script is executed, several changes which couldn't be exported to the config script are shown:

[exportconfigscript] 79612 INFO - Changes that couldn't be exported to the config script:
[exportconfigscript] 79658 INFO - *******************************************************
[exportconfigscript] 79706 INFO - Row removed from table [AD_PREFERENCE]: <AD_PREFERENCE: AD_PREFERENCE_ID = 113, AD_CLIENT_ID = 0, AD_ORG_ID = 0, ISACTIVE = Y, CREATED = null, CREATEDBY = null, UPDATED = null, UPDATEDBY = null, AD_WINDOW_ID = 103, AD_USER_ID = null, ATTRIBUTE = Type, VALUE = S, PROPERTY = null, ISPROPERTYLIST = N, VISIBLEAT_CLIENT_ID = 0, VISIBLEAT_ORG_ID = 0, VISIBLEAT_ROLE_ID = null, SELECTED = N, AD_MODULE_ID = null>
[exportconfigscript] 79718 INFO - Row removed from table [AD_PREFERENCE]: <AD_PREFERENCE: AD_PREFERENCE_ID = 800001, AD_CLIENT_ID = 0, AD_ORG_ID = 0, ISACTIVE = Y, CREATED = null, CREATEDBY = null, UPDATED = null, UPDATEDBY = null, AD_WINDOW_ID = null, AD_USER_ID = 100, ATTRIBUTE = ShowTrl, VALUE = Y, PROPERTY = null, ISPROPERTYLIST = N, VISIBLEAT_CLIENT_ID = 0, VISIBLEAT_ORG_ID = 0, VISIBLEAT_ROLE_ID = null, SELECTED = N, AD_MODULE_ID = null>
...

These are actually false changes, and shouldn't be detected or shown.
- Put all the modules in the distribution not in development, except the Openbravo 3 template.
- Do ant export.config.script
- You will notice these changes, even if you changed nothing
The problem is that dbsm is loading not only the files in sourcedata, but also the ones in sourcedata/referencedData. This is wrong.
No tags attached.
Issue History
2011-08-31 12:01marvintmNew Issue
2011-08-31 12:01marvintmAssigned To => marvintm
2011-08-31 12:01marvintmModules => Core
2011-08-31 12:04hgbotCheckin
2011-08-31 12:04hgbotNote Added: 0040610
2011-08-31 12:04hgbotStatusnew => resolved
2011-08-31 12:04hgbotResolutionopen => fixed
2011-08-31 12:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/e6680ef5c647fa4f8d89c7377ecb542d097cb6b1 [^]
2011-08-31 12:04hgbotCheckin
2011-08-31 12:04hgbotNote Added: 0040611
2011-08-31 12:04hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/dbsm-main/rev/e6680ef5c647fa4f8d89c7377ecb542d097cb6b1 [^] => http://code.openbravo.com/erp/devel/pi/rev/5fdf47cc9185b5e0959f0a2f70b97f258a64fb18 [^]
2011-09-01 14:35hudsonbotCheckin
2011-09-01 14:35hudsonbotNote Added: 0040669
2011-09-01 22:09dbazStatusresolved => closed
2011-09-01 22:09dbazFixed in Version => 3.0MP3

Notes
(0040610)
hgbot   
2011-08-31 12:04   
Repository: erp/devel/dbsm-main
Changeset: e6680ef5c647fa4f8d89c7377ecb542d097cb6b1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Aug 31 12:03:17 2011 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/e6680ef5c647fa4f8d89c7377ecb542d097cb6b1 [^]

Fixed issue 18397. False changes will no longer be shown on export.config.script

---
M src/org/openbravo/ddlutils/util/DBSMOBUtil.java
---
(0040611)
hgbot   
2011-08-31 12:04   
Repository: erp/devel/pi
Changeset: 5fdf47cc9185b5e0959f0a2f70b97f258a64fb18
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Aug 31 12:03:48 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5fdf47cc9185b5e0959f0a2f70b97f258a64fb18 [^]

Fixed issue 18397. False changes will no longer be shown on export.config.script

---
M src-db/database/lib/dbsourcemanager.jar
---
(0040669)
hudsonbot   
2011-09-01 14:35   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6b7e3ac301b9 [^]

Maturity status: Test