Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007361Openbravo ERPA. Platformpublic2009-02-04 11:542009-03-06 12:34
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0007361: Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table
The AD_COLUMN.name and AD_COLUMN.ad_table_id should be unique together. It showed that there are several cases (about 40) in AD_COLUMN where this did not apply. These name clashes have to be solved by changing the name of one of the 'clashing' columns.

See the attached xls for an overview.

gr. Martin
No tags attached.
depends on defect 0007362pi closed pheenan C_POC_DOCTYPE_TEMPLATE: Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table 
depends on defect 0007363pi closed eduardo_Argal Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table 
depends on defect 0007364pi closed alostale Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table 
depends on defect 0007365pi closed mtaal Solve inconsistency in AD_COLUMN.name field, there are name clashes in columns in one table 
depends on defect 0007366pi closed anthony_wolski Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table 
xls dup_col.xls (109,568) 2009-02-04 11:54
https://issues.openbravo.com/file_download.php?file_id=801&type=bug
Issue History
2009-02-04 11:54mtaalNew Issue
2009-02-04 11:54mtaalAssigned To => mtaal
2009-02-04 11:54mtaalsf_bug_id0 => 2563555
2009-02-04 11:54mtaalFile Added: dup_col.xls
2009-02-04 11:54mtaalRegression testing => No
2009-02-04 13:51mtaalRelationship addeddepends on 0007362
2009-02-04 13:51mtaalRelationship addeddepends on 0007363
2009-02-04 13:51mtaalRelationship addeddepends on 0007364
2009-02-04 13:51mtaalRelationship addeddepends on 0007365
2009-02-04 13:51mtaalRelationship addeddepends on 0007366
2009-02-11 15:12svnbotCheckin
2009-02-11 15:12svnbotNote Added: 0013349
2009-02-11 15:12svnbotStatusnew => resolved
2009-02-11 15:12svnbotResolutionopen => fixed
2009-02-11 15:12svnbotsvn_revision => 13054
2009-03-06 12:34psarobeStatusresolved => closed

Notes
(0013349)
svnbot   
2009-02-11 15:12   
Repository: openbravo
Revision: 13054
Author: mtaal
Date: 2009-02-11 15:12:17 +0100 (Wed, 11 Feb 2009)

XML element names and java members names (of generated entities) are now based on the AD_COLUMN.name column. In addition naming logic has been changed to camelcase in a better way. Resulting in changes in the sampledata and masterdata xml files.
Fixes issue 7365, Solve inconsistency in AD_COLUMN.name field, there are name clashes in columns in one table
Fixes issue 7361, Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table
src/build.xml has been updated to do generate.entities before import.sample.data
Fixes issue 7495, Could not execute: ant create.database -Dapply.on.create=true

---
A trunk/referencedata/client_data.xml
U trunk/referencedata/sampledata/Accounting_Test.xml
U trunk/referencedata/sampledata/BigBazaar.xml
U trunk/referencedata/standard/Masterdata.xml
U trunk/src/build.xml
U trunk/src/log4j.properties
U trunk/src/org/openbravo/base/model/NamingUtil.java
U trunk/src/org/openbravo/base/model/Property.java
U trunk/src/org/openbravo/base/model/column_property_mapping.properties
U trunk/src/org/openbravo/base/structure/DynamicOBObject.java
U trunk/src/org/openbravo/base/structure/Traceable.java
U trunk/src/org/openbravo/dal/core/OBContext.java
U trunk/src/org/openbravo/dal/core/OBInterceptor.java
U trunk/src/org/openbravo/dal/security/EntityAccessChecker.java
U trunk/src/org/openbravo/dal/security/OrganizationStructureProvider.java
U trunk/src/org/openbravo/dal/service/OBCriteria.java
U trunk/src/org/openbravo/dal/xml/EntityXMLConverter.java
U trunk/src/org/openbravo/service/dataset/DataSetService.java
U trunk/src/org/openbravo/service/db/ClientImportProcessor.java
U trunk/src/org/openbravo/service/db/DataExportService.java
U trunk/src/org/openbravo/service/db/ExportReferenceDataTask.java
U trunk/src/org/openbravo/service/system/DatabaseValidator.java
U trunk/src/org/openbravo/service/system/ModuleValidator.java
U trunk/src-db/database/lib/dbsourcemanager.jar
U trunk/src-test/org/openbravo/test/dal/DalPerformanceInventoryLineTest.java
U trunk/src-test/org/openbravo/test/dal/DalQueryTest.java
U trunk/src-test/org/openbravo/test/dal/DalTest.java
U trunk/src-test/org/openbravo/test/dal/DynamicEntityTest.java
U trunk/src-test/org/openbravo/test/dal/ValidationTest.java
U trunk/src-test/org/openbravo/test/expression/EvaluationTest.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/security/EntityAccessTest.java
U trunk/src-test/org/openbravo/test/webservice/WSUpdateTest.java
U trunk/src-test/org/openbravo/test/xml/ClientDataSetCompleteTest.java
U trunk/src-test/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java
U trunk/src-test/org/openbravo/test/xml/EntityXMLIssues.java
U trunk/src-test/org/openbravo/test/xml/UniqueConstraintImportTest.java
---

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