Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010795Openbravo ERPA. Platformpublic2009-09-28 18:082009-10-20 00:00
marvintm 
marvintm 
urgentminorhave not tried
closedfixed 
5
 
2.50MP7 
Core
No
0010795: "Database has local changes" error doesn't give information about what was modified
The update.database task now has a security mechanism that checks if the application dictionary was modified after the last update.database or export.database. If in fact there were modifications, a "Database has local changes" error message is shown, and the update.database is stopped.

The problem is that this message doesn't give information about which tables or rows were modified, and thus it's difficult for the user to fix the problem.
The message will be improved so that it provides information about the Application Dictionary entries that were modified.
No tags attached.
Issue History
2009-09-28 18:08marvintmNew Issue
2009-09-28 18:08marvintmAssigned To => marvintm
2009-09-28 18:28hgbotCheckin
2009-09-28 18:28hgbotNote Added: 0020412
2009-09-28 18:28hgbotStatusnew => resolved
2009-09-28 18:28hgbotResolutionopen => fixed
2009-09-28 18:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]
2009-09-29 14:19hgbotCheckin
2009-09-29 14:19hgbotNote Added: 0020522
2009-09-29 14:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]
2009-10-19 11:16mtaalStatusresolved => closed
2009-10-19 11:16mtaalNote Added: 0021161
2009-10-19 11:16mtaalFixed in Version => 2.50MP7
2009-10-20 00:00anonymoussf_bug_id0 => 2882007

Notes
(0020412)
hgbot   
2009-09-28 18:28   
Repository: erp/devel/pi
Changeset: 01be4132059e3c5ffc3e9f066b14c2d9bd88d942
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 28 18:28:02 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]

Fixed issue 10795. If a 'Database has local changes' message is shown, the modified rows in the Application Dictionary will also be shown.

---
M src/org/openbravo/service/dataset/DataSetService.java
---
(0020522)
hgbot   
2009-09-29 14:19   
Repository: erp/devel/pi-pageddatagrid
Changeset: 01be4132059e3c5ffc3e9f066b14c2d9bd88d942
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 28 18:28:02 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]

Fixed issue 10795. If a 'Database has local changes' message is shown, the modified rows in the Application Dictionary will also be shown.

---
M src/org/openbravo/service/dataset/DataSetService.java
---
(0021161)
mtaal   
2009-10-19 11:16   
Closing the issue with the following remark:
- currently the changed objects are printed when there are not more than 20 objects changed
- if more than 20 objects have changed then only a general remark is printed.

I think it is better to print always the first 20 objects and add a remark 'There are in total XXX changed objects, logging the first 20 for your information:

As this is a small remark from my side, leaving it to Antonio to re-open the issue and make the change.

gr. Martin