Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016134
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-03-04 13:352011-08-12 15:02
ReportermarvintmView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchFixed in SCM revisionba65e8f92c8a
ProjectionnoneETAnoneTarget Version3.0MP2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016134: Window definition is not refreshed if a customization is done using an Industry Template

DescriptionWhen 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.
Proposed SolutionA 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00164953.0RC6 closedalostale Tab added by a module is not visible until the browser cache is refreshed 
has duplicate defect 00161513.0RC6 closedmtaal Cashed content is not refreshed when AD UI metadata is changed with Template in Development 
has duplicate feature request 0016505 closedalostale Warning to the user in order to clean the cache after changing AD 
related to defect 00176573.0MP2 closedalostale Quick button images do not load 

-  Notes
(0035375)
hgbot (developer)
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 (manager)
2011-04-07 12:06

Works
(0038366)
dmitry_mezentsev (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
2011-08-12 15:02

tested

- Issue History
Date Modified Username Field Change
2011-03-04 13:35 marvintm New Issue
2011-03-04 13:35 marvintm Assigned To => mtaal
2011-03-04 13:35 marvintm Modules => Core
2011-03-07 08:05 alostale Status new => scheduled
2011-03-07 08:05 alostale fix_in_branch => pi
2011-03-30 17:16 alostale Relationship added related to 0016495
2011-03-30 17:17 alostale Assigned To mtaal => alostale
2011-03-30 17:17 alostale Target Version => 3.0RC6
2011-03-30 17:17 alostale fix_in_branch pi =>
2011-03-30 17:22 hgbot Checkin
2011-03-30 17:22 hgbot Note Added: 0035375
2011-03-30 17:22 hgbot Status scheduled => resolved
2011-03-30 17:22 hgbot Resolution open => fixed
2011-03-30 17:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a509e24e676f37df95a2ff54ad5a579c8564b9af [^]
2011-03-31 09:38 alostale Relationship added has duplicate 0016151
2011-04-07 12:06 mtaal Note Added: 0035711
2011-04-07 12:06 mtaal Status resolved => closed
2011-04-08 00:00 anonymous sf_bug_id 0 => 3279891
2011-06-16 14:22 dmitry_mezentsev Note Added: 0038366
2011-06-16 14:22 dmitry_mezentsev Status closed => new
2011-06-16 14:22 dmitry_mezentsev Resolution fixed => open
2011-06-16 14:25 dmitry_mezentsev Relationship added has duplicate 0016505
2011-06-16 14:25 dmitry_mezentsev Target Version 3.0RC6 => 3.0MP1
2011-06-17 14:16 dmitry_mezentsev Note Added: 0038374
2011-06-17 14:19 dmitry_mezentsev Note Edited: 0038374 View Revisions
2011-06-30 09:16 alostale Status new => scheduled
2011-06-30 09:16 alostale fix_in_branch => pi
2011-07-05 09:52 dmitry_mezentsev Target Version 3.0MP1 => 3.0MP2
2011-07-05 09:52 dmitry_mezentsev fix_in_branch pi =>
2011-07-19 13:23 hgbot Checkin
2011-07-19 13:23 hgbot Note Added: 0039224
2011-07-19 13:23 hgbot Checkin
2011-07-19 13:23 hgbot Note Added: 0039225
2011-07-19 13:23 hgbot Status scheduled => resolved
2011-07-19 13:23 hgbot Resolution open => fixed
2011-07-19 13:23 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a509e24e676f37df95a2ff54ad5a579c8564b9af [^] => http://code.openbravo.com/erp/devel/pi/rev/ba65e8f92c8a2565dd4456878832c01c4e356032 [^]
2011-07-19 13:28 alostale Relationship added related to 0017657
2011-08-01 14:20 hudsonbot Checkin
2011-08-01 14:20 hudsonbot Note Added: 0039624
2011-08-01 14:20 hudsonbot Checkin
2011-08-01 14:20 hudsonbot Note Added: 0039625
2011-08-12 15:02 jecharri Note Added: 0040168
2011-08-12 15:02 jecharri Status resolved => closed
2011-08-12 15:02 jecharri Fixed in Version => 3.0MP2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker