Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011041Openbravo ERPY. DBSourceManagerpublic2009-10-19 18:122009-10-23 00:01
marvintm 
marvintm 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0011041: Export.database will stop even if forced when it detects a difference in a database file
At the begining of export.database, dbsourcemanager checks if there was any change in a database file (which could happen, for example, if a hg pull was done, but no update.database was done after that).

If there is a change, the process stops with an error. This is correct. However, if the command is forced, the user would expect the process to still continue even if a difference was detected. However, this doesn't happen, the process also stops.
Do install.source. After that, modify any file in src-db/database/model/tables. After that, do

ant export.database -Dforce=true
Change dbsourcemanager so that, if -Dforce=true is specified, the export.database is done anyway.
No tags attached.
Issue History
2009-10-19 18:12marvintmNew Issue
2009-10-19 18:12marvintmAssigned To => marvintm
2009-10-19 18:27hgbotCheckin
2009-10-19 18:27hgbotNote Added: 0021188
2009-10-19 18:27hgbotStatusnew => resolved
2009-10-19 18:27hgbotResolutionopen => fixed
2009-10-19 18:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f982fa88d06407b6ec6c6c180e596180c0245e92 [^]
2009-10-22 11:21plujanStatusresolved => closed
2009-10-23 00:01anonymoussf_bug_id0 => 2884269

Notes
(0021188)
hgbot   
2009-10-19 18:27   
Repository: erp/devel/pi
Changeset: f982fa88d06407b6ec6c6c180e596180c0245e92
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 19 18:26:09 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f982fa88d06407b6ec6c6c180e596180c0245e92 [^]

Fixed issue 11041. Now export.database will continue if forced when a difference in a database file is found.

---
M src-db/database/lib/dbsourcemanager.jar
---