Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007365Openbravo ERPA. Platformpublic2009-02-04 13:482009-03-06 12:34
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0007365: Solve inconsistency in AD_COLUMN.name field, there are name clashes in columns in one table
The AD_COLUMN.name and AD_COLUMN.ad_table_id should be unique together. It showed that there are several cases 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. You only need to solve the ones with your name (see the last column in the excel).

gr. Martin
No tags attached.
blocks defect 0007361pi closed mtaal Solve inconsistency in AD_COLUMN.name field, there are name clashes in one table 
xls dup_col.xls (17,408) 2009-02-04 13:48
https://issues.openbravo.com/file_download.php?file_id=805&type=bug
Issue History
2009-02-04 13:48mtaalNew Issue
2009-02-04 13:48mtaalAssigned To => gorkaion
2009-02-04 13:48mtaalsf_bug_id0 => 2563861
2009-02-04 13:48mtaalFile Added: dup_col.xls
2009-02-04 13:48mtaalRegression testing => No
2009-02-04 13:51mtaalRelationship addedblocks 0007361
2009-02-10 10:43psarobeStatusnew => scheduled
2009-02-10 10:43psarobefix_in_branch => trunk
2009-02-10 10:43psarobeAssigned Togorkaion => iciordia
2009-02-10 10:43psarobefix_in_branchtrunk =>
2009-02-10 10:43psarobeDescription Updated
2009-02-10 10:49mtaalAssigned Toiciordia => mtaal
2009-02-11 15:12svnbotCheckin
2009-02-11 15:12svnbotNote Added: 0013348
2009-02-11 15:12svnbotStatusscheduled => resolved
2009-02-11 15:12svnbotResolutionopen => fixed
2009-02-11 15:12svnbotsvn_revision => 13054
2009-03-06 12:34psarobeStatusresolved => closed

Notes
(0013348)
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 [^]