Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0019855 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] Y. DBSourceManager | major | always | 2012-02-23 17:13 | 2012-03-02 15:39 | |||
| Reporter | marvintm | View Status | public | |||||
| Assigned To | marvintm | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP9 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | dc38e73dea5a | ||||
| Projection | none | ETA | none | Target Version | ||||
| 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 | 0019855: Under very specific circumstances, update.database can fail due to a Comparator error | |||||||
| Description | The ChangeComparator in dbsourcemanager (in the DataComparator class) is not perfectly-transitive. Therefore, it can fail under some specific circumstances with an error similar to this: [java] 307486 INFO - Comparing databases to find differences [java] java.lang.IllegalArgumentException: Comparison method violates its general contract! [java] at java.util.TimSort.mergeLo(TimSort.java:747) [java] at java.util.TimSort.mergeAt(TimSort.java:483) [java] at java.util.TimSort.mergeCollapse(TimSort.java:410) [java] at java.util.TimSort.sort(TimSort.java:214) [java] at java.util.TimSort.sort(TimSort.java:173) [java] at java.util.Arrays.sort(Arrays.java:659) [java] at java.util.Collections.sort(Collections.java:217) [java] at org.apache.ddlutils.alteration.DataComparator.compareToUpdate(DataComparator.java:121) [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:182) [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86) [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:38) | |||||||
| Steps To Reproduce | The way to reproduce this issue is not clear currently. It has previously happened to some customers, but we don't have a reliable way to reproduce it now. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0045418) hgbot (developer) 2012-02-23 17:40 |
Repository: erp/devel/pi Changeset: 334833f4c3a7927d855c61f66516cd27efbb2587 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Feb 23 17:32:29 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/334833f4c3a7927d855c61f66516cd27efbb2587 [^] Fixed issue 19855. Comparator is now consistent and transitive. Fixed issue 13724. Dataset information will now be loaded from the database instead of the XML files. --- M src-db/database/lib/dbsourcemanager.jar --- |
|
(0045439) hgbot (developer) 2012-02-24 11:27 |
Repository: erp/devel/dbsm-main Changeset: dc38e73dea5a433238e3bbb98f1552264f7955dc Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Thu Feb 23 17:15:13 2012 +0100 URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/dc38e73dea5a433238e3bbb98f1552264f7955dc [^] Fixed issue 19855. DataComparator now is consistent and transitive. --- M src/org/apache/ddlutils/alteration/DataComparator.java --- |
|
(0045494) alostale (viewer) 2012-02-28 08:38 |
This issue was reported because it was failing in a concrete instance. After applying the fix, this instance built successfully. |
|
(0045944) hudsonbot (viewer) 2012-03-02 15:39 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-02-23 17:13 | marvintm | New Issue | |
| 2012-02-23 17:13 | marvintm | Assigned To | => marvintm |
| 2012-02-23 17:13 | marvintm | Modules | => Core |
| 2012-02-23 17:13 | marvintm | OBNetwork customer | => No |
| 2012-02-23 17:40 | hgbot | Checkin | |
| 2012-02-23 17:40 | hgbot | Note Added: 0045418 | |
| 2012-02-23 17:40 | hgbot | Status | new => resolved |
| 2012-02-23 17:40 | hgbot | Resolution | open => fixed |
| 2012-02-23 17:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/334833f4c3a7927d855c61f66516cd27efbb2587 [^] |
| 2012-02-24 11:27 | hgbot | Checkin | |
| 2012-02-24 11:27 | hgbot | Note Added: 0045439 | |
| 2012-02-24 11:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/334833f4c3a7927d855c61f66516cd27efbb2587 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/dc38e73dea5a433238e3bbb98f1552264f7955dc [^] |
| 2012-02-28 08:38 | alostale | Note Added: 0045494 | |
| 2012-02-28 08:38 | alostale | Status | resolved => closed |
| 2012-02-28 08:38 | alostale | Fixed in Version | => 3.0MP9 |
| 2012-03-02 15:39 | hudsonbot | Checkin | |
| 2012-03-02 15:39 | hudsonbot | Note Added: 0045944 | |
| Copyright © 2000 - 2009 MantisBT Group |