Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017002 | Openbravo ERP | A. Platform | public | 2011-05-04 13:57 | 2011-11-04 13:55 |
|
Reporter | shuehner | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP5 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017002: Warning about 'wrong' uuid generator usage shown during export.database |
Description | Two types of warnings are present in dal-core code with the newer hibernate version:
a.) deprecation warnings when compiling the obtuplizer class
b.) warning about 'wrong' uuid generator usage shown during export.database (in other tasks only shown with debug level enabled) |
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0017033 | 3.0RC7 | closed | shuehner | Update core and template from the previous MP don't work | related to | defect | 0037497 | | closed | shuehner | DalUUIDHexGenerator class is deprecated and unused since 2011 it should be removed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-05-04 13:57 | shuehner | New Issue | |
2011-05-04 13:57 | shuehner | Assigned To | => mtaal |
2011-05-04 13:57 | shuehner | Modules | => Core |
2011-05-05 09:09 | alostale | Status | new => scheduled |
2011-05-05 20:15 | shuehner | Relationship added | related to 0017033 |
2011-05-05 20:15 | shuehner | Note Added: 0036453 | |
2011-05-05 20:15 | shuehner | Priority | normal => urgent |
2011-05-05 20:15 | shuehner | Severity | minor => major |
2011-05-05 20:15 | shuehner | Target Version | => 3.0RC7 |
2011-05-06 17:04 | hgbot | Checkin | |
2011-05-06 17:04 | hgbot | Note Added: 0036524 | |
2011-05-06 17:22 | mtaal | Note Added: 0036525 | |
2011-05-10 13:44 | mtaal | Target Version | 3.0RC7 => 3.0MP0 |
2011-05-10 13:46 | dmitry_mezentsev | Note Added: 0036626 | |
2011-05-10 13:48 | shuehner | Note Added: 0036627 | |
2011-05-12 13:31 | hudsonbot | Checkin | |
2011-05-12 13:31 | hudsonbot | Note Added: 0036852 | |
2011-05-17 09:15 | iperdomo | Priority | urgent => normal |
2011-05-23 12:46 | shuehner | Note Added: 0037319 | |
2011-05-23 12:46 | shuehner | Summary | Some warnings are shown with new hibernate version so our code should be updated to avoid them => Warning about 'wrong' uuid generator usage shown during export.database |
2011-05-23 13:18 | mtaal | Target Version | 3.0MP0 => 3.0MP1 |
2011-06-22 19:57 | dmitry_mezentsev | Target Version | 3.0MP1 => 3.0MP2 |
2011-07-18 10:50 | mtaal | Target Version | 3.0MP2 => 3.0MP3 |
2011-08-31 09:46 | mtaal | Target Version | 3.0MP3 => 3.0MP4 |
2011-09-18 12:48 | mtaal | Target Version | 3.0MP4 => 3.0MP5 |
2011-10-22 13:38 | hgbot | Checkin | |
2011-10-22 13:38 | hgbot | Note Added: 0041987 | |
2011-10-22 13:38 | hgbot | Status | scheduled => resolved |
2011-10-22 13:38 | hgbot | Resolution | open => fixed |
2011-10-22 13:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7191562c8ac0eb4ad691bb4de6259a84e6cd70aa [^] |
2011-10-22 23:53 | hgbot | Checkin | |
2011-10-22 23:53 | hgbot | Note Added: 0041989 | |
2011-11-02 12:36 | marvintm | Status | resolved => closed |
2011-11-04 13:55 | hudsonbot | Checkin | |
2011-11-04 13:55 | hudsonbot | Note Added: 0042544 | |
2011-11-04 13:55 | hudsonbot | Checkin | |
2011-11-04 13:55 | hudsonbot | Note Added: 0042545 | |
2017-12-16 17:41 | shuehner | Relationship added | related to 0037497 |
Notes |
|
|
At least the two deprecation warnings should/must be fixed before rc7 as they show up in the rebuild popup otherwise when upgrading from rc6 which looks quite ugly and will confuse users doing the upgrade. |
|
|
(0036524)
|
hgbot
|
2011-05-06 17:04
|
|
Repository: erp/devel/pi
Changeset: b752993f285eb788bbf1d75a91956b70a1907286
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri May 06 17:04:06 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b752993f285eb788bbf1d75a91956b70a1907286 [^]
Related to issue 17002: Some warnings are shown with new hibernate version so our code should be updated to avoid them
---
M src/org/openbravo/dal/core/OBTuplizer.java
---
|
|
|
(0036525)
|
mtaal
|
2011-05-06 17:22
|
|
I solved the first one, for the second one the message during export.database is this:
Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
I tried their approach (using the org.hibernate.id.UUIDGenerator) but the ID values values generated were too long:
204126 [http-8080-3] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: value too long for type character varying(32) |
|
|
|
Stefan, Martin,
Could you please comment if with this change these warnings are still visible in the UI of the MMC or not?
If not we can postpone this issue for MP0. |
|
|
|
The part for the ui-warning should be fixed with the current state (but did not verify again as takes quite long to test).
Afaik only part open if a warning only on export.database (see martins comment for the text). Not nice but can live with that until mp0 i think. |
|
|
|
|
|
|
Update title to match pending part |
|
|
(0041987)
|
hgbot
|
2011-10-22 13:38
|
|
Repository: erp/devel/pi
Changeset: 7191562c8ac0eb4ad691bb4de6259a84e6cd70aa
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Oct 22 13:37:39 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7191562c8ac0eb4ad691bb4de6259a84e6cd70aa [^]
Fixes issue 17002: Warning about 'wrong' uuid generator usage shown during export.database
Implemented different UUID generator
---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/DatasourceDefinition.hbm.xml
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/SelectorDefinition.hbm.xml
M src/org/openbravo/base/model/Column.hbm.xml
M src/org/openbravo/base/model/Module.hbm.xml
M src/org/openbravo/base/model/Package.hbm.xml
M src/org/openbravo/base/model/RefList.hbm.xml
M src/org/openbravo/base/model/RefSearch.hbm.xml
M src/org/openbravo/base/model/RefTable.hbm.xml
M src/org/openbravo/base/model/Reference.hbm.xml
M src/org/openbravo/base/model/Table.hbm.xml
M src/org/openbravo/dal/core/DalMappingGenerator.java
M src/org/openbravo/dal/core/DalUUIDHexGenerator.java
---
|
|
|
(0041989)
|
hgbot
|
2011-10-22 23:53
|
|
|
|
|
|
|
|
|