Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012268Openbravo ERPA. Platformpublic2010-02-15 10:532010-03-10 18:30
alostale 
alostale 
urgentmajoralways
closedfixed 
5
 
2.50MP122.50MP12 
Core
No
0012268: Synchronize terminolgy fails reusing elements in EM columns
Synchronize terminology fails when reusing an element for an external table which name has been changed and does not follow naming rule for names.

The problem is caused because Synchronize terminology updates the column name using the element's name when assigning a new element to a column, this assignment might not follow naming rule for column name.
1. Create a new module in development with dbprefix TEST
2. Create a new column in AD_AlertRule table named EM_TEST_MYCOL, create column and field in application dictionary.
3. Execute Synchronize terminology process
4. Go to the created element and rename it to My Column
5. Repeat step 2 in AD_Alert table.
6. Execute Synchronize terminology -> Fails
When assigning new element to a column apply the naming rule for column name.
No tags attached.
Issue History
2010-02-15 10:53alostaleNew Issue
2010-02-15 10:53alostaleAssigned To => alostale
2010-02-15 10:59hgbotCheckin
2010-02-15 10:59hgbotNote Added: 0024251
2010-02-15 10:59hgbotStatusnew => resolved
2010-02-15 10:59hgbotResolutionopen => fixed
2010-02-15 10:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1a90957978e50f3820dc97da56dd8f66cbdc6b6c [^]
2010-02-16 01:41hudsonbotCheckin
2010-02-16 01:41hudsonbotNote Added: 0024372
2010-02-17 15:04marvintmNote Added: 0024493
2010-02-17 15:04marvintmStatusresolved => closed
2010-02-17 15:04marvintmFixed in Version => 2.50MP12
2010-02-18 00:01anonymoussf_bug_id0 =>
2010-03-10 18:30anonymoussf_bug_id => 2968068

Notes
(0024251)
hgbot   
2010-02-15 10:59   
Repository: erp/devel/pi
Changeset: 1a90957978e50f3820dc97da56dd8f66cbdc6b6c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Feb 15 10:59:41 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1a90957978e50f3820dc97da56dd8f66cbdc6b6c [^]

fixed bug 12268: Synchronize terminolgy fails reusing elements in EM columns

---
M src-db/database/model/functions/AD_SYNCHRONIZE.xml
---
(0024372)
hudsonbot   
2010-02-16 01:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/1a90957978e5 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/5ae4a54f2372 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16398.obx [^]
(0024493)
marvintm   
2010-02-17 15:04   
Followed the proposed steps to reproduce and verified that Ad_synchronize doesn't fail, but instead assigns a naming rules compliant name to the column.