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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005864
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajorsometimes2008-11-06 18:162009-04-22 00:00
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision9765
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

0005864: Update.database.mod could cause problems when dependant modules are installed out of order

DescriptionIf update.database.mod is used, and a list of dependant modules is provided, there could be problems when modules are not provided in strict dependency order.

The reason for this is that constraints are disabled and enabled for each of the installed modules, and the database could not be in a consistent state when some modules have been inserted, but others not.
Steps To ReproduceJust do an update.database.mod with a list of wrongly-ordered dependant modules.
Proposed SolutionWe will change the update.database.mod task so that constraints are disabled at the begining of the data changes, and enabled at the end, and will update all the modules in between.
Tagsdbsm_migrate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0010053)
svnbot (reporter)
2008-11-06 18:21

Repository: dbsourcemanager
Revision: 166
Author: marvintm
Date: 2008-11-06 18:21:08 +0100 (Thu, 06 Nov 2008)

Fixed issue 5864. In update.database.mod, constraints will be disabled and enabled just once, and the data for all the modules will be updated in between.

---
U branches/dbsmmodularity/src/org/openbravo/ddlutils/task/AlterDatabaseDataMod.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=166&sc=1 [^]
(0010054)
svnbot (reporter)
2008-11-06 18:21

Repository: openbravo
Revision: 9765
Author: marvintm
Date: 2008-11-06 18:21:31 +0100 (Thu, 06 Nov 2008)

Fixed issue 5864. In update.database.mod, constraints will be disabled and enabled just once, and the data for all the modules will be updated in between.

---
U branches/modularity/src-db/database/lib/dbsourcemanager.jar
U branches/modularity/src-db/database/lib/dbsourcemanagerlight.jar
---

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

- Issue History
Date Modified Username Field Change
2008-11-06 18:16 marvintm New Issue
2008-11-06 18:16 marvintm Status new => scheduled
2008-11-06 18:16 marvintm Assigned To => marvintm
2008-11-06 18:16 marvintm fix_in_branch => trunk
2008-11-06 18:21 svnbot Checkin
2008-11-06 18:21 svnbot Note Added: 0010053
2008-11-06 18:21 svnbot Status scheduled => resolved
2008-11-06 18:21 svnbot Resolution open => fixed
2008-11-06 18:21 svnbot svn_revision => 166
2008-11-06 18:21 svnbot Checkin
2008-11-06 18:21 svnbot Note Added: 0010054
2008-11-06 18:21 svnbot svn_revision 166 => 9765
2008-12-18 12:38 jpabloae Sticky Issue No => Yes
2008-12-18 12:39 jpabloae Sticky Issue Yes => No
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-04-21 11:07 psarobe Status resolved => closed
2009-04-22 00:00 anonymous sf_bug_id 0 => 2777911


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker