Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0009531 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | major | have not tried | 2009-06-18 10:19 | 2009-06-20 00:00 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | bc424a3a9d41 | ||||
Projection | none | ETA | none | Target Version | 2.50MP2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0009531: If two export.databases are done, the first one works, the second one doesn't | |||||||
Description | When 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 Reproduce | Just do export.database twice. The second one will fail. | |||||||
Proposed Solution | Export.database should update the CRC of the files. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2009-06-19 13:14 |
Tested can able to perform export.database twice |
![]() |
|||
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:19 | marvintm | OBNetwork customer | => No |
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 |