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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018397
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2011-08-31 12:012011-09-01 22:09
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0MP3
StatusclosedFix in branchFixed in SCM revision5fdf47cc9185
ProjectionnoneETAnoneTarget Version3.0MP3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018397: When export.config.script is executed, a number of false changes are shown

DescriptionWhen 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.
Steps To Reproduce- 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
Proposed SolutionThe problem is that dbsm is loading not only the files in sourcedata, but also the ones in sourcedata/referencedData. This is wrong.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0040610)
hgbot (developer)
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 (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2011-08-31 12:01 marvintm New Issue
2011-08-31 12:01 marvintm Assigned To => marvintm
2011-08-31 12:01 marvintm Modules => Core
2011-08-31 12:04 hgbot Checkin
2011-08-31 12:04 hgbot Note Added: 0040610
2011-08-31 12:04 hgbot Status new => resolved
2011-08-31 12:04 hgbot Resolution open => fixed
2011-08-31 12:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/e6680ef5c647fa4f8d89c7377ecb542d097cb6b1 [^]
2011-08-31 12:04 hgbot Checkin
2011-08-31 12:04 hgbot Note Added: 0040611
2011-08-31 12:04 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/dbsm-main/rev/e6680ef5c647fa4f8d89c7377ecb542d097cb6b1 [^] => http://code.openbravo.com/erp/devel/pi/rev/5fdf47cc9185b5e0959f0a2f70b97f258a64fb18 [^]
2011-09-01 14:35 hudsonbot Checkin
2011-09-01 14:35 hudsonbot Note Added: 0040669
2011-09-01 22:09 dbaz Status resolved => closed
2011-09-01 22:09 dbaz Fixed in Version => 3.0MP3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker