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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010795
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2009-09-28 18:082009-10-20 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version2.50MP7
StatusclosedFix in branchFixed in SCM revision01be4132059e
ProjectionnoneETAnoneTarget Version
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

0010795: "Database has local changes" error doesn't give information about what was modified

DescriptionThe 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.
Proposed SolutionThe message will be improved so that it provides information about the Application Dictionary entries that were modified.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

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

- Issue History
Date Modified Username Field Change
2009-09-28 18:08 marvintm New Issue
2009-09-28 18:08 marvintm Assigned To => marvintm
2009-09-28 18:28 hgbot Checkin
2009-09-28 18:28 hgbot Note Added: 0020412
2009-09-28 18:28 hgbot Status new => resolved
2009-09-28 18:28 hgbot Resolution open => fixed
2009-09-28 18:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]
2009-09-29 14:19 hgbot Checkin
2009-09-29 14:19 hgbot Note Added: 0020522
2009-09-29 14:19 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/01be4132059e3c5ffc3e9f066b14c2d9bd88d942 [^]
2009-10-19 11:16 mtaal Status resolved => closed
2009-10-19 11:16 mtaal Note Added: 0021161
2009-10-19 11:16 mtaal Fixed in Version => 2.50MP7
2009-10-20 00:00 anonymous sf_bug_id 0 => 2882007


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker