Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043363 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-02-28 10:22 | 2020-03-12 17:25 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | f4ae851af906 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043363: unneded requests to StaticResources when working in cluster | |||||||
Description | Working in a Tomcat cluster, the StaticResources generated JavaScript file is different among different nodes. At least OB.Application.communityBrandingStaticUrl contains macIdentfier which makes the whole file to be different. This causes unneeded requests to resources that should have been cached when switching between nodes. | |||||||
Steps To Reproduce | In a cluster with 2 nodes in different physical machines: 1. log in to node A -> OK: StaticResources request is done 2. in same browser, log in to node B -> ERROR: a new request to StaticResources request is done, this shouldn't happen as it is already cached in the browser. | |||||||
Proposed Solution | Move OB.Application.communityBrandingStaticUrl to SessionDynamic request | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||||||
|
Notes | |
(0118385) ioritzCia (developer) 2020-03-06 14:12 |
Putting a resolution time as it is related with bandwidth increase in a Gold customer |
(0118473) hgbot (developer) 2020-03-10 16:39 |
Repository: erp/devel/pi Changeset: f4ae851af9065e44ae325b544602b9b9f4d5fa26 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Mar 02 11:28:09 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/f4ae851af9065e44ae325b544602b9b9f4d5fa26 [^] fixed BUG-43363: unneded requests to StaticResources when working in cluster Community branding URL was included as static resource. As it contains mac identifier information that varies among nodes in the same cluster, generated js file was different and requested whenver a browser switched from a node to another. Now this part has been moved to SessionDynamic request. --- M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ApplicationComponent.java M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ApplicationDynamicComponent.java M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-dynamic-js.ftl M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl --- |
(0118557) caristu (developer) 2020-03-12 17:25 |
Reviewed + tested OK. MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/49 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2020-02-28 10:22 | alostale | New Issue | |
2020-02-28 10:22 | alostale | Assigned To | => platform |
2020-02-28 10:22 | alostale | Modules | => Core |
2020-02-28 10:22 | alostale | Triggers an Emergency Pack | => No |
2020-02-28 10:22 | alostale | Tag Attached: Performance | |
2020-02-28 10:31 | alostale | Relationship added | related to 0035553 |
2020-02-28 10:33 | alostale | Relationship added | related to 0034490 |
2020-02-28 10:53 | marvintm | Relationship added | related to 0043366 |
2020-03-06 14:12 | ioritzCia | Resolution time | => 1584658800 |
2020-03-06 14:12 | ioritzCia | Note Added: 0118385 | |
2020-03-10 16:26 | alostale | Assigned To | platform => alostale |
2020-03-10 16:28 | alostale | Relationship added | depends on 0043472 |
2020-03-10 16:39 | hgbot | Checkin | |
2020-03-10 16:39 | hgbot | Note Added: 0118473 | |
2020-03-10 16:39 | hgbot | Status | new => resolved |
2020-03-10 16:39 | hgbot | Resolution | open => fixed |
2020-03-10 16:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f4ae851af9065e44ae325b544602b9b9f4d5fa26 [^] |
2020-03-10 16:42 | alostale | Review Assigned To | => caristu |
2020-03-12 17:25 | caristu | Note Added: 0118557 | |
2020-03-12 17:25 | caristu | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |