Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015204Openbravo ERP00. Application dictionarypublic2010-11-16 18:112011-05-24 10:57
alostale 
gorkaion 
urgentminorN/A
closedfixed 
5
 
3.0RC4 
Core
No
0015204: Implement elements in parameters
Parameter table has a ad_element_id which is not implemented.
To implement this it is necessary to add an extension point to ad_sycnchronize or to refactor it.

Additionally currently there is a problem in ad_synchronize: it deletes orphan elements, this is elements that are not used in columns nor ad_process_para entries. It is necessary to refactor at least this part to be generic enough not to remove new elements only used in new param entries.

See the proposal attached fix.
closingMay2011
diff synchonize.diff (4,254) 2010-11-16 18:12
https://issues.openbravo.com/file_download.php?file_id=3326&type=bug
Issue History
2010-11-16 18:11alostaleNew Issue
2010-11-16 18:11alostaleAssigned To => mtaal
2010-11-16 18:12alostaleFile Added: synchonize.diff
2010-11-17 10:06shuehnerIssue Monitored: shuehner
2010-11-17 12:33iciordiaProjectModules => @23@
2010-11-17 13:47iciordiaProject@23@ => Openbravo ERP
2010-11-17 13:48iciordiaCategoryClient Application => 00. Application dictionary
2010-11-17 13:48iciordiaTarget Version => 3.0RC4
2010-11-17 13:51iciordiaAssigned Tomtaal => gorkaion
2011-01-18 15:16hgbotCheckin
2011-01-18 15:16hgbotNote Added: 0033716
2011-01-18 15:16hgbotStatusnew => resolved
2011-01-18 15:16hgbotResolutionopen => fixed
2011-01-18 15:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/297727c5bda98e0e749e3cf62bdba1524077c7ba [^]
2011-01-18 15:17hgbotCheckin
2011-01-18 15:17hgbotNote Added: 0033717
2011-01-18 15:17hgbotCheckin
2011-01-18 15:17hgbotNote Added: 0033718
2011-01-18 15:17hgbotCheckin
2011-01-18 15:17hgbotNote Added: 0033719
2011-05-24 10:03dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0033716)
hgbot   
2011-01-18 15:16   
Repository: erp/devel/pi
Changeset: 297727c5bda98e0e749e3cf62bdba1524077c7ba
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jan 18 15:10:25 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/297727c5bda98e0e749e3cf62bdba1524077c7ba [^]

Fixed issue 15204.Refactored code to delete orphan elements.

---
M src-db/database/model/functions/AD_SYNCHRONIZE.xml
---
(0033717)
hgbot   
2011-01-18 15:17   
Repository: erp/devel/pi
Changeset: 97416e8e0db315710a9eebfaadcc5e49c4e623b7
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jan 18 15:11:11 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/97416e8e0db315710a9eebfaadcc5e49c4e623b7 [^]

Related to issue 15204.[OBUIAPP]Implemented usage of ad_element_id column on parameters.

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_EP_PROCEDURES.xml
A modules/org.openbravo.client.application/src-db/database/model/functions/OBUIAPP_SYNCHRONIZE.xml
A modules/org.openbravo.client.application/src-db/database/model/triggers/OBUIAPP_ELEMENT_TRG.xml
A modules/org.openbravo.client.application/src-db/database/model/triggers/OBUIAPP_ELEMENT_TRL_TRG.xml
---
(0033718)
hgbot   
2011-01-18 15:17   
Repository: erp/devel/pi
Changeset: 8fec86d3d05a9ec45af75f4572338614bd9df60a
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jan 18 15:12:07 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8fec86d3d05a9ec45af75f4572338614bd9df60a [^]

Related to issue 15204.[OBCHW]Added ad_element_id on parameters.

---
M modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
A modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_ELEMENT.xml
---
(0033719)
hgbot   
2011-01-18 15:17   
Repository: erp/devel/pi
Changeset: 264ddc38106ede1650cf973b91bb0ca6ffa0888a
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jan 18 15:12:39 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/264ddc38106ede1650cf973b91bb0ca6ffa0888a [^]

Related to issue 15204.[OBCQL]Added ad_element_id on parameters.

---
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_ELEMENT.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
---