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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007312
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorsometimes2009-02-02 12:322009-04-21 12:39
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision12645
ProjectionnoneETAnoneTarget Versionpi
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

0007312: update.database may fail when the dataset definition is changed

DescriptionIf the dataset definition is changed (for example, if a table is removed from the dataset AD), update.database will not work correctly.

The reason for this is that the dataset definition that DAL (and therefore dbsourcemanager) uses is the one stored in the database.
Proposed SolutionThe most obvious solution is to update the dataset tables first when doing an update.database, and then do the update of the rest of the tables.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0013009)
svnbot (reporter)
2009-02-02 13:00

Repository: dbsourcemanager
Revision: 225
Author: marvintm
Date: 2009-02-02 13:00:10 +0100 (Mon, 02 Feb 2009)

Fixed issue 7312. Now dataset tables will be updated at the begining if necessary, and then the rest of the tables will be updated.

---
U trunk/src/org/apache/ddlutils/alteration/DataComparator.java
U trunk/src/org/openbravo/ddlutils/task/AlterDatabaseDataAll.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=225&sc=1 [^]
(0013010)
svnbot (reporter)
2009-02-02 13:02

Repository: openbravo
Revision: 12645
Author: marvintm
Date: 2009-02-02 13:02:17 +0100 (Mon, 02 Feb 2009)

Fixed issue 7312. Now dataset tables will be updated at the begining if necessary, and then the rest of the tables will be updated.

---
U trunk/src/org/openbravo/service/dataset/DataSetService.java
U trunk/src-db/database/lib/dbsourcemanager.jar
U trunk/src-db/database/sourcedata/AD_DATASET.xml
U trunk/src-db/database/sourcedata/AD_DATASET_TABLE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12645&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-02-02 12:32 marvintm New Issue
2009-02-02 12:32 marvintm Assigned To => marvintm
2009-02-02 12:32 marvintm sf_bug_id 0 => 2556634
2009-02-02 12:32 marvintm Regression testing => No
2009-02-02 13:00 svnbot Checkin
2009-02-02 13:00 svnbot Note Added: 0013009
2009-02-02 13:00 svnbot Status new => resolved
2009-02-02 13:00 svnbot Resolution open => fixed
2009-02-02 13:00 svnbot svn_revision => 225
2009-02-02 13:02 svnbot Checkin
2009-02-02 13:02 svnbot Note Added: 0013010
2009-02-02 13:02 svnbot svn_revision 225 => 12645
2009-04-21 12:39 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker