Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016134Openbravo ERPA. Platformpublic2011-03-04 13:352011-08-12 15:02
marvintm 
alostale 
urgentmajorhave not tried
closedfixed 
5
 
3.0MP23.0MP2 
Core
No
0016134: Window definition is not refreshed if a customization is done using an Industry Template
When a window is opened in Openbravo 3, its definition is cached and then reused if it's opened again. This caching is disabled if the module it belongs to is disabled, however, as the user might have changed its definition.

However, this caching is not disabled if the window is customized when an industry template is in development, and therefore, the changes cannot be seen by the user until the browser cache is refreshed.
A good solution needs to be found for this. An initial approach could be to compare the audit info of all the objects belonging to the window to a date saved when the window definition was last computed.
No tags attached.
related to defect 00164953.0RC6 closed alostale Tab added by a module is not visible until the browser cache is refreshed 
has duplicate defect 00161513.0RC6 closed mtaal Cashed content is not refreshed when AD UI metadata is changed with Template in Development 
has duplicate feature request 0016505 closed alostale Warning to the user in order to clean the cache after changing AD 
related to defect 00176573.0MP2 closed alostale Quick button images do not load 
Issue History
2011-03-04 13:35marvintmNew Issue
2011-03-04 13:35marvintmAssigned To => mtaal
2011-03-04 13:35marvintmModules => Core
2011-03-07 08:05alostaleStatusnew => scheduled
2011-03-07 08:05alostalefix_in_branch => pi
2011-03-30 17:16alostaleRelationship addedrelated to 0016495
2011-03-30 17:17alostaleAssigned Tomtaal => alostale
2011-03-30 17:17alostaleTarget Version => 3.0RC6
2011-03-30 17:17alostalefix_in_branchpi =>
2011-03-30 17:22hgbotCheckin
2011-03-30 17:22hgbotNote Added: 0035375
2011-03-30 17:22hgbotStatusscheduled => resolved
2011-03-30 17:22hgbotResolutionopen => fixed
2011-03-30 17:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a509e24e676f37df95a2ff54ad5a579c8564b9af [^]
2011-03-31 09:38alostaleRelationship addedhas duplicate 0016151
2011-04-07 12:06mtaalNote Added: 0035711
2011-04-07 12:06mtaalStatusresolved => closed
2011-04-08 00:00anonymoussf_bug_id0 => 3279891
2011-06-16 14:22dmitry_mezentsevNote Added: 0038366
2011-06-16 14:22dmitry_mezentsevStatusclosed => new
2011-06-16 14:22dmitry_mezentsevResolutionfixed => open
2011-06-16 14:25dmitry_mezentsevRelationship addedhas duplicate 0016505
2011-06-16 14:25dmitry_mezentsevTarget Version3.0RC6 => 3.0MP1
2011-06-17 14:16dmitry_mezentsevNote Added: 0038374
2011-06-17 14:19dmitry_mezentsevNote Edited: 0038374bug_revision_view_page.php?bugnote_id=0038374#r2255
2011-06-30 09:16alostaleStatusnew => scheduled
2011-06-30 09:16alostalefix_in_branch => pi
2011-07-05 09:52dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-07-05 09:52dmitry_mezentsevfix_in_branchpi =>
2011-07-19 13:23hgbotCheckin
2011-07-19 13:23hgbotNote Added: 0039224
2011-07-19 13:23hgbotCheckin
2011-07-19 13:23hgbotNote Added: 0039225
2011-07-19 13:23hgbotStatusscheduled => resolved
2011-07-19 13:23hgbotResolutionopen => fixed
2011-07-19 13:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/a509e24e676f37df95a2ff54ad5a579c8564b9af [^] => http://code.openbravo.com/erp/devel/pi/rev/ba65e8f92c8a2565dd4456878832c01c4e356032 [^]
2011-07-19 13:28alostaleRelationship addedrelated to 0017657
2011-08-01 14:20hudsonbotCheckin
2011-08-01 14:20hudsonbotNote Added: 0039624
2011-08-01 14:20hudsonbotCheckin
2011-08-01 14:20hudsonbotNote Added: 0039625
2011-08-12 15:02jecharriNote Added: 0040168
2011-08-12 15:02jecharriStatusresolved => closed
2011-08-12 15:02jecharriFixed in Version => 3.0MP2

Notes
(0035375)
hgbot   
2011-03-30 17:22   
Repository: erp/devel/pi
Changeset: a509e24e676f37df95a2ff54ad5a579c8564b9af
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 30 17:20:49 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a509e24e676f37df95a2ff54ad5a579c8564b9af [^]

fixed bug 16495, fixed bug 16134

  Browser caching for Components has changed:
   -Now ETag is different if there is any module in development. Fixing in this way the caching for templates
    as well as caching for modules adding tabs to windows within other modules.
   -ETag in case of no modules in development is composed by all module versions and whether they are enable.
   -Removed non used ETag from StandardWindowComponent

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/StandardWindowComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/ModuleHandler.java
---
(0035711)
mtaal   
2011-04-07 12:06   
Works
(0038366)
dmitry_mezentsev   
2011-06-16 14:22   
Does not work for me.
live.builds.pi (from 16.06.2011)

1. Log in with default role (F&B Int. Group Admin)
2. Unit of Measure window. Conversion tab is not there by default.
3. Change the role to the System Admin.
4. System Info window, check Customization Allowed flag.
5. Windows, Tabs and Fields window. Find Unit of Measure and set Conversion tab as Active.
6. Log out and navigate to the Unit of Measure window, no changes are there.
(0038374)
dmitry_mezentsev   
2011-06-17 14:16   
(edited on: 2011-06-17 14:19)
Another use case that does not work is reported in the following Forum post
http://forge.openbravo.com/projects/ob3support/forum/de-activating-config-script-p7025814.html#p7025814. [^]

It is not about having Template In Development but about modifying Template definition (Apply Configuration Script check-box).

(0039224)
hgbot   
2011-07-19 13:23   
Repository: erp/devel/pi
Changeset: 96afde6d0c69edc5e54e3ef760d62598accc6481
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 19 13:20:19 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/96afde6d0c69edc5e54e3ef760d62598accc6481 [^]

related to issue 16134: Apply config script is used for ETag

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java
---
(0039225)
hgbot   
2011-07-19 13:23   
Repository: erp/devel/pi
Changeset: ba65e8f92c8a2565dd4456878832c01c4e356032
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 19 13:21:35 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ba65e8f92c8a2565dd4456878832c01c4e356032 [^]

fixed bug 16134: Window definition is not refreshed with "Allow Customization"

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SysInfoCustomAllowed.java
---
(0039624)
hudsonbot   
2011-08-01 14:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0039625)
hudsonbot   
2011-08-01 14:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0040168)
jecharri   
2011-08-12 15:02   
tested