Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012247 | Openbravo ERP | Y. DBSourceManager | public | 2010-02-12 13:22 | 2010-03-10 18:29 |
Reporter | marvintm | ||||
Assigned To | marvintm | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 2.50MP12 | |||
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 | 0012247: DBSM incorrectly detects changes in the database | ||||
Description | Update.database sometimes detects changes in the AD_Treenode table, even though the sourcedata rows weren't changed. The cause for this is that the AD_treenode table is special (some of its rows belong to sourcedata, and some of them do not), and dbsourcemanager needs to take this into account when checking for changes. | ||||
Steps To Reproduce | In an update.database, you might encounter this error: [java] Change detected in table: AD_TreeNode [java] Database has local changes. Update.database will not be done. If you want to force the update.database, do: ant update.database -Dforce=true (you will lose all your changes in the application dictionary if you do it) [java] Database has local changes. Update.database not done. [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.execute(AlterDatabaseDataAll.java:142) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:34) [java] Exception in thread "main" Database has local changes. Update.database not done. [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.execute(AlterDatabaseDataAll.java:196) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:34) [java] Caused by: Database has local changes. Update.database not done. [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.execute(AlterDatabaseDataAll.java:142) [java] ... 1 more [java] --- Nested Exception --- [java] Database has local changes. Update.database not done. [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.execute(AlterDatabaseDataAll.java:142) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:34) | ||||
Proposed Solution | DBSM will be changed to address this problem. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-02-12 13:22 | marvintm | New Issue | |||
2010-02-12 13:22 | marvintm | Assigned To | => marvintm | ||
2010-02-12 13:22 | marvintm | OBNetwork customer | => No | ||
2010-02-12 13:23 | hgbot | Checkin | |||
2010-02-12 13:23 | hgbot | Note Added: 0024206 | |||
2010-02-12 13:23 | hgbot | Status | new => resolved | ||
2010-02-12 13:23 | hgbot | Resolution | open => fixed | ||
2010-02-12 13:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c269b393c523e4f8c34112497357c4df34300fb3 [^] | ||
2010-02-15 17:39 | hudsonbot | Checkin | |||
2010-02-15 17:39 | hudsonbot | Note Added: 0024361 | |||
2010-02-16 17:53 | shuehner | Note Added: 0024432 | |||
2010-02-16 17:53 | shuehner | Status | resolved => closed | ||
2010-02-16 17:53 | shuehner | Fixed in Version | => 2.50MP12 | ||
2010-02-17 00:01 | anonymous | sf_bug_id | 0 => | ||
2010-03-10 18:29 | anonymous | sf_bug_id | => 2968058 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|