Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014236Openbravo ERP00. Application dictionarypublic2010-08-18 15:202011-05-16 13:53
alostale 
alostale 
immediatemajorN/A
closedfixed 
5
 
 
Core
No
0014236: AD_Model_Object cleanup for generated tabs
AD_Model_Object and AD_Model_Object_Mapping entries for WAD windows are calculated from AD_Window and AD_Tab information, so it is not really needed to keep them in database.
Remove these entries from database and implement class and mapping calculation dynamically at runtime.
No tags attached.
related to defect 0015524 closed iciordia int-api 683 fails 
related to defect 0015551 closed alostale Linked items are not working. 
related to defect 00155922.50MP26 closed alostale The date selectors don't wokr in mp25 in firefox 
blocks feature request 0007236 acknowledged shuehner Tracking issue: Cleanup for 3.00 
blocks defect 00141202.50MP22 closed alostale Removed entries from AD_Model_Object make the system to fail 
diff ad_model_object.diff (22,487) 2010-08-18 15:24
https://issues.openbravo.com/file_download.php?file_id=2882&type=bug
Issue History
2010-08-18 15:20alostaleNew Issue
2010-08-18 15:20alostaleAssigned To => shuehner
2010-08-18 15:20alostaleRelationship addedblocks 0007236
2010-08-18 15:24alostaleFile Added: ad_model_object.diff
2010-08-18 15:25alostaleNote Added: 0030122
2010-08-18 15:26alostaleRelationship addedblocks 0014120
2010-12-23 17:47alostaleAssigned Toshuehner => alostale
2010-12-23 17:49hgbotCheckin
2010-12-23 17:49hgbotNote Added: 0033379
2010-12-23 17:49hgbotStatusnew => resolved
2010-12-23 17:49hgbotResolutionopen => fixed
2010-12-23 17:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/96da1e0b3a8f0c40108f2d0d1d5d447f242aa18d [^]
2010-12-23 18:38shuehnerNote Added: 0033380
2010-12-23 18:38shuehnerStatusresolved => new
2010-12-23 18:38shuehnerResolutionfixed => open
2010-12-23 18:51shuehnerNote Added: 0033381
2010-12-23 18:51shuehnerPrioritynormal => immediate
2010-12-23 18:51shuehnerSeverityminor => major
2010-12-24 07:52hgbotCheckin
2010-12-24 07:52hgbotNote Added: 0033384
2010-12-24 07:52hgbotStatusnew => resolved
2010-12-24 07:52hgbotResolutionopen => fixed
2010-12-24 07:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/96da1e0b3a8f0c40108f2d0d1d5d447f242aa18d [^] => http://code.openbravo.com/erp/devel/pi/rev/51b073719f6e0f305d0a9815d418747a3f79d9e4 [^]
2010-12-24 12:09shuehnerRelationship addedrelated to 0015524
2010-12-30 13:16hudsonbotCheckin
2010-12-30 13:16hudsonbotNote Added: 0033475
2010-12-30 13:16hudsonbotCheckin
2010-12-30 13:16hudsonbotNote Added: 0033477
2010-12-31 12:52alostaleRelationship addedrelated to 0015551
2011-01-10 12:13alostaleRelationship addedrelated to 0015592
2011-05-16 13:53iperdomoStatusresolved => closed

Notes
(0030122)
alostale   
2010-08-18 15:25   
Attached a partial fix for this issue:
-It makes WAD not to use model object for tabs
-It creates vertical menu without making use of model object for tabs
(0033379)
hgbot   
2010-12-23 17:49   
Repository: erp/devel/pi
Changeset: 96da1e0b3a8f0c40108f2d0d1d5d447f242aa18d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Dec 23 17:47:24 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/96da1e0b3a8f0c40108f2d0d1d5d447f242aa18d [^]

fixed issue 14236: AD_Model_Object cleanup for generated tabs

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
M modules/org.openbravo.client.kernel/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/YesNoUIDefinition.java
M modules/org.openbravo.client.querylist/src-db/database/model/tables/OBCQL_QUERY_COLUMN.xml
M modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/images/form/ico-to-new-tab.png
A modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/images/form/search_picker.png
A modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/FKSearchUIDefinition.java
A src-db/database/model/triggers/AD_TAB_TRG2.xml
---
(0033380)
shuehner   
2010-12-23 18:38   
Reopen as the code-change which belong to this cleanup has an issue.
If a module is not yet updated/cleaned-up to not have those (now) unneeded ad_model_object (+_mapping) entries they'll create wrong entries in web.xml
Concrete it will create servlet-mapping entries without creating servlet->classname entries.

The web.xml generation code should ignore/filter out those entries to not create those broken ones. (For testing i.e. put back the removed files for ad_model_object.xml & ad_model_object_mapping.xml) for anyof the affected modules (like client.myob)
(0033381)
shuehner   
2010-12-23 18:51   
Changing priority as code-change mentioned in last commit message is needed otherwise tomcat startup will fail with any non-updated module (which has tabs) installed (i.e. selector example module).
(0033384)
hgbot   
2010-12-24 07:52   
Repository: erp/devel/pi
Changeset: 51b073719f6e0f305d0a9815d418747a3f79d9e4
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Dec 24 07:51:41 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/51b073719f6e0f305d0a9815d418747a3f79d9e4 [^]

[ModelObject] When generating web.xml do not take into account mapping for tabs
    evend they exist. In this way modules containing them can be installed.

    fixed bug 14236

---
M src-wad/src/org/openbravo/wad/Wad_data.xsql
---
(0033475)
hudsonbot   
2010-12-30 13:16   
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/96da1e0b3a8f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]
(0033477)
hudsonbot   
2010-12-30 13:16   
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/51b073719f6e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]