Openbravo Issue Tracking System - Modules
View Issue Details
0015084Moduleszz obsolete Easy Extensible Attributespublic2010-11-01 17:102010-11-02 13:19
networkb 
marvintm 
urgentmajoralways
closedno change required 
5
2.50 
1.0.3 
0015084: Modifying one tab from AD and EEA
1.- Create a new column called EM_WOOF_CURP in c_bpartner table.
2.- Configure column and field EM_WOOF_CURP in AD.
3.- Compile

4.- Create a new window WOOF_BUSSINES_PARTNER with a header tab. The header depends on c_bpartner table.
5.- Copy the fields from tab "Business Partner - Business Partner" using the process "Copy Tab Fields".
6.- Use Easy Extensible in order to create a new field called PRUEBA in the existing new window and tab. (table c_bpartner)
7.- Apply changes to AD and rebuild de system.
8.- See the error: http://pastebin.com/8EL2sBmy [^]
1.- Create a new column called EM_WOOF_CURP in c_bpartner table.
2.- Configure column and field EM_WOOF_CURP in AD.
3.- Compile

4.- Create a new window WOOF_BUSSINES_PARTNER with a header tab. The header depends on c_bpartner table.
5.- Copy the fields from tab "Business Partner - Business Partner" using the process "Copy Tab Fields".
6.- Use Easy Extensible in order to create a new field called PRUEBA in the existing new window and tab. (table c_bpartner)
7.- Apply changes to AD and rebuild de system.
8.- See the error: http://pastebin.com/8EL2sBmy [^]
No tags attached.
Issue History
2010-11-01 17:10networkbNew Issue
2010-11-01 17:10networkbAssigned To => marvintm
2010-11-02 13:19marvintmNote Added: 0032354
2010-11-02 13:19marvintmStatusnew => closed
2010-11-02 13:19marvintmResolutionopen => no change required
2022-02-18 04:26priyamCategoryEasy Extensible Attributes => zz obsolete Easy Extensible Attributes

Notes
(0032354)
marvintm   
2010-11-02 13:19   
This is in fact not an issue, but the way the module works. Easy Extensible Attributes is designed to operate on a system which has its database state and its xml sources in a consistent state.

A user can in fact add new developments after or while he is using the Easy Extensible Attributes module, but in that case, he needs to explictly call ant export.database to export them before the next call to the Generate process of the module is done. If this is not done, the module will load XML files which are not consistent with the current state of the database, and it will not work correctly.

One possible modification which could be done to improve the user experience in this case would be to check for Application Dictionary changes in the Generate process before anything is done. The process could then be stopped early, and with a more user friendly error message.