Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005864 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | major | sometimes | 2008-11-06 18:16 | 2009-04-22 00:00 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 9765 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0005864: Update.database.mod could cause problems when dependant modules are installed out of order | |||||||
Description | If 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 Reproduce | Just do an update.database.mod with a list of wrongly-ordered dependant modules. | |||||||
Proposed Solution | We 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. | |||||||
Tags | dbsm_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 |