Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007128Openbravo ERPA. Platformpublic2009-01-26 11:032009-03-06 12:34
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0007128: DAL: generated property names need to be prefixed with DBPrefix when are part of table of other module (relevant for upgrading)
When upgrading from an older version of Openbravo then new custom columns in core do not adhere to the prefix rule:
>> that a column of a module A other than core in a table of a module other than A should be prefixed

The DAL should add a prefix automatically when creating a property name in these cases.
No tags attached.
Issue History
2009-01-26 11:03mtaalNew Issue
2009-01-26 11:03mtaalAssigned To => mtaal
2009-01-26 11:03mtaalsf_bug_id0 => 2537265
2009-01-26 11:03mtaalRegression testing => No
2009-01-28 09:25svnbotCheckin
2009-01-28 09:25svnbotNote Added: 0012717
2009-01-28 09:25svnbotStatusnew => resolved
2009-01-28 09:25svnbotResolutionopen => fixed
2009-01-28 09:25svnbotsvn_revision => 12347
2009-03-06 12:34psarobeStatusresolved => closed

Notes
(0012717)
svnbot   
2009-01-28 09:25   
Repository: openbravo
Revision: 12347
Author: mtaal
Date: 2009-01-28 09:25:52 +0100 (Wed, 28 Jan 2009)

Fixes issue 7174 Sample Data export also export objects from client 0, it should only export objects from the clients set by the ant task
Fixes issue 7135 DAL: List properties need to use the module DBPrefix when the child table belongs to a module unequal to core
Fixes issue 7128 DAL: generated property names need to be prefixed with DBPrefix when are part of table of other module (relevant for upgrading)

---
U trunk/referencedata/sampledata/Accounting_Test.xml
U trunk/referencedata/sampledata/BigBazaar.xml
U trunk/src/org/openbravo/base/model/Column.hbm.xml
U trunk/src/org/openbravo/base/model/Column.java
U trunk/src/org/openbravo/base/model/Entity.java
U trunk/src/org/openbravo/base/model/ModelProvider.java
U trunk/src/org/openbravo/base/model/NamingUtil.java
U trunk/src/org/openbravo/base/model/Package.hbm.xml
U trunk/src/org/openbravo/base/model/Package.java
U trunk/src/org/openbravo/base/model/Property.java
U trunk/src/org/openbravo/base/structure/BaseOBObject.java
U trunk/src/org/openbravo/dal/xml/EntityXMLConverter.java
U trunk/src/org/openbravo/erpCommon/utility/TableSQLData.java
U trunk/src/org/openbravo/service/db/ClientImportEntityResolver.java
U trunk/src/org/openbravo/service/db/DataExportService.java
U trunk/src/org/openbravo/service/system/DatabaseValidator.java
U trunk/src-test/org/openbravo/test/dal/DalPerformanceInventoryLineTest.java
U trunk/src-test/org/openbravo/test/model/OneToManyTest.java
U trunk/src-test/org/openbravo/test/modularity/DatasetServiceTest.java
U trunk/src-test/org/openbravo/test/xml/ClientExportImportTest.java
A trunk/src-test/org/openbravo/test/xml/ClientExportTest.java
U trunk/src-test/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12347&sc=1 [^]