Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017002
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-05-04 13:572011-11-04 13:55
ReportershuehnerView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7191562c8ac0
ProjectionnoneETAnoneTarget Version3.0MP5
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017002: Warning about 'wrong' uuid generator usage shown during export.database

DescriptionTwo 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00170333.0RC7 closedshuehner Update core and template from the previous MP don't work 
related to defect 0037497 closedshuehner DalUUIDHexGenerator class is deprecated and unused since 2011 it should be removed 

-  Notes
(0036453)
shuehner (administrator)
2011-05-05 20:15

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 (developer)
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 (manager)
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)
(0036626)
dmitry_mezentsev (developer)
2011-05-10 13:46

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.
(0036627)
shuehner (administrator)
2011-05-10 13:48

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.
(0036852)
hudsonbot (developer)
2011-05-12 13:31

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/c40e579fcd38 [^]

Maturity status: Test
(0037319)
shuehner (administrator)
2011-05-23 12:46

Update title to match pending part
(0041987)
hgbot (developer)
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 (developer)
2011-10-22 23:53

Repository: erp/devel/pi
Changeset: df8d1b1261d420d042ddc3ef9f6bce0557997fb1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Oct 22 23:53:08 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df8d1b1261d420d042ddc3ef9f6bce0557997fb1 [^]

Related to issue 17002: Warning about 'wrong' uuid generator usage shown during export.database

---
A src/org/openbravo/base/session/DalUUIDGenerator.java
---
(0042544)
hudsonbot (developer)
2011-11-04 13:55

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/d10da320df2a [^]

Maturity status: Test
(0042545)
hudsonbot (developer)
2011-11-04 13:55

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/d10da320df2a [^]

Maturity status: Test

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker