Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013561Openbravo ERPA. Platformpublic2010-06-07 15:232010-06-09 00:00
shuehner 
alostale 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0013561: [NewCr] dbprefix is inserted per module version instead of only per module
All published modules contain duplicates in their dbprefixes, as the publish code adds a new db-prefix per published version.
a.) Remove duplicates in the db once
b.) Fix java code for publishing
c.) Add unique constraint on ad_module_id,name
NewCR
Issue History
2010-06-07 15:23shuehnerNew Issue
2010-06-07 15:23shuehnerAssigned To => alostale
2010-06-07 15:23shuehnerTag Attached: NewCR
2010-06-07 15:47hgbotCheckin
2010-06-07 15:47hgbotNote Added: 0028064
2010-06-07 15:47hgbotStatusnew => resolved
2010-06-07 15:47hgbotResolutionopen => fixed
2010-06-07 15:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/af6f4b1c737d633fc701c3941847543f060b7e56 [^]
2010-06-08 19:29shuehnerNote Added: 0028196
2010-06-08 19:29shuehnerStatusresolved => closed
2010-06-09 00:00anonymoussf_bug_id0 => 3013462

Notes
(0028064)
hgbot   
2010-06-07 15:47   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: af6f4b1c737d633fc701c3941847543f060b7e56
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 07 15:46:52 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/af6f4b1c737d633fc701c3941847543f060b7e56 [^]

fixed bug 13561: [NewCr] dbprefix is inserted per module version instead of only per module

---
M src-db/database/model/tables/OBUCR_MODULE_DBPREFIX.xml
M src/org/openbravo/utility/centralrepository/process/PublishModule.java
---
(0028196)
shuehner   
2010-06-08 19:29   
code reviewed+tested, java code now avoids inserting duplicate dbprefixes for the same module, as extra safety an extra db-constraint does ensure there are no duplicate inside the same module.
The existing duplicates in the test-system have been manually cleaned up.