Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007135 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2009-01-26 14:13 | 2009-03-06 12:34 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 12347 | ||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | 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 | 0007135: DAL: List properties need to use the module DBPrefix when the child table belongs to a module unequal to core | |||||||
Description | Take the following example: a module adds a new table OrderAddresses which refers to the Openbravo core Order table with a column c_theorder_id. Then Openbravo generate.entities will generate a property TheorderList inside the Order business object to hold the list of OrderAddresses by Order. This has to be corrected so that the property also contains the db prefix of the module. So if the OrderAddresses table belongs to the module A with dbprefix APRE then the correct property name is APRETheOrderList. gr. Martin | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0012716) svnbot (viewer) 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 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-01-26 14:13 | mtaal | New Issue | |
2009-01-26 14:13 | mtaal | Assigned To | => mtaal |
2009-01-26 14:13 | mtaal | sf_bug_id | 0 => 2537645 |
2009-01-26 14:13 | mtaal | OBNetwork customer | => No |
2009-01-26 14:13 | mtaal | Regression testing | => No |
2009-01-28 09:25 | svnbot | Checkin | |
2009-01-28 09:25 | svnbot | Note Added: 0012716 | |
2009-01-28 09:25 | svnbot | Status | new => resolved |
2009-01-28 09:25 | svnbot | Resolution | open => fixed |
2009-01-28 09:25 | svnbot | svn_revision | => 12347 |
2009-03-06 12:34 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |