Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007312 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | major | sometimes | 2009-02-02 12:32 | 2009-04-21 12:39 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 12645 | ||||
Projection | none | ETA | none | Target Version | pi | |||
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 | 0007312: update.database may fail when the dataset definition is changed | |||||||
Description | If 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 Solution | The 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0013009) svnbot (viewer) 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 (viewer) 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 [^] |
![]() |
|||
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 | OBNetwork customer | => No |
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 |