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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009531
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorhave not tried2009-06-18 10:192009-06-20 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionbc424a3a9d41
ProjectionnoneETAnoneTarget Version2.50MP2
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

0009531: If two export.databases are done, the first one works, the second one doesn't

DescriptionWhen export.database is called, a security mechanism to verify that you are not overwritting file changes is executed. This mechanism compares the CRC of the files when the last update.database was done with the CRC of the current files. The problem is that export.database doesn't update the CRC after it has been completed, so the second export.database will fail as the CRC of the files will not be identical to the one before the last export.database.
Steps To ReproduceJust do export.database twice. The second one will fail.
Proposed SolutionExport.database should update the CRC of the files.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0017414)
hgbot (developer)
2009-06-18 10:51

Repository: dbsourcemanager
Revision: 340
Author: marvintm
Date: 2009-06-18 10:51:23 +0200 (Thu, 18 Jun 2009)

Fixed issue 9531. Now export.database will update the CRC info.

---
U trunk/src/org/openbravo/ddlutils/task/ExportDatabase.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=340&sc=1 [^]
(0017415)
hgbot (developer)
2009-06-18 10:55

Repository: erp/devel/pi
Changeset: bc424a3a9d41d138e5e918ffcfaf44d92ea998e0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 18 10:51:36 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bc424a3a9d41d138e5e918ffcfaf44d92ea998e0 [^]

Fixed issue 9531. Now export.database will update the CRC info.

---
M src-core/src/org/openbravo/utils/CheckSum.java
M src-db/database/lib/dbsourcemanager.jar
---
(0017480)
sureshbabu (reporter)
2009-06-19 13:14

Tested can able to perform export.database twice

- Issue History
Date Modified Username Field Change
2009-06-18 10:19 marvintm New Issue
2009-06-18 10:19 marvintm Assigned To => marvintm
2009-06-18 10:51 hgbot Checkin
2009-06-18 10:51 hgbot Note Added: 0017414
2009-06-18 10:51 hgbot Status new => resolved
2009-06-18 10:51 hgbot Resolution open => fixed
2009-06-18 10:55 hgbot Checkin
2009-06-18 10:55 hgbot Note Added: 0017415
2009-06-18 10:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bc424a3a9d41d138e5e918ffcfaf44d92ea998e0 [^]
2009-06-19 13:14 sureshbabu Status resolved => closed
2009-06-19 13:14 sureshbabu Note Added: 0017480
2009-06-19 13:14 sureshbabu Fixed in Version => pi
2009-06-20 00:00 anonymous sf_bug_id 0 => 2809279


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker