Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041359 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | random | 2019-07-11 12:14 | 2019-07-16 11:19 | |||
Reporter | Leyre | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR19Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 87c115a338c2 | ||||
Projection | none | ETA | none | Target Version | 3.0PR19Q2.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2018-11-22 | |||||||
Regression introduced in release | 3.0PR19Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/4d71d9e4d6d5c9be49d1a301da6dbeefeb5d9048 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041359: error when opening some backoffice windows | |||||||
Description | When actions in backoffice windows that have tabs for the same table (ie. Sales Invoice Header and Purchase Invoice Header, both of them based in the same C_Order table) are performed in certain order, it is not possible to open one of those windows, until Tomcat is restarted or ADCS cache is reset. This is caused because some of this actions can trigger ADCS to be partially initialized for some of these tabs. | |||||||
Steps To Reproduce | In browser A: - Open Sales Invoice (tab is properly stored in cache due to view generation) - Open Purchase Invoice (tab is properly stored in cache due to view generation) - Reset the ApplicationDictionaryCachedStructure either restarting Tomcat or following the steps described in the Proposed Solution section. - Open Sales Invoice (tab is partially stored in cache dure to WindowSettingsActionHanlder request) - Open Purchase Invoice (tab is partially stored in cache dure to WindowSettingsActionHanlder request) In browser B: - Open Purchase Invoice. The following error will be shown: Error occured: freemarker.template.TemplateModelException: get(tabView) failed on instance of org.openbravo.client.application.window.StandardWindowComponent | |||||||
Proposed Solution | Workaround while the problem is not solved: 1) Download jmxterm-1.0.1-uber.jar 2) java -jar jmxterm-1.0.1-uber.jar 3) open <PID> 4) bean Openbravo:context=<contexto>,name=ApplicationDictionaryCachedStructures 5) run resetCache ** to the step 3) open <PID>: execute the "jps" command. It returns an id, to use. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0113391) hgbot (developer) 2019-07-16 08:25 |
Repository: erp/backports/3.0PR19Q2.1 Changeset: 87c115a338c25a44e2e36ed1d802493f731409cd Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Jul 16 08:25:41 2019 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/87c115a338c25a44e2e36ed1d802493f731409cd [^] fixed bug 41359: error when opening some backoffice windows Tabs that share the same table (ie. Purchase Invoice Header and Sales Invoice Header) could set ADCS to an incorrect state where one of those tabs is partially initialized. This cause the view for that tab not to be possible to get generated. Fixed by forcing complete tab initialization even the table for it was already initialized as it could have been done by another tab with the same table. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java M src-test/src/org/openbravo/test/base/TestConstants.java A modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/ADCSTest.java --- |
(0113398) AugustoMauch (administrator) 2019-07-16 11:19 |
Code reviewed and verified |
Issue History | |||
Date Modified | Username | Field | Change |
2019-07-15 14:10 | alostale | Type | defect => backport |
2019-07-15 14:10 | alostale | Target Version | => 3.0PR19Q2.1 |
2019-07-16 08:25 | hgbot | Checkin | |
2019-07-16 08:25 | hgbot | Note Added: 0113391 | |
2019-07-16 08:25 | hgbot | Status | scheduled => resolved |
2019-07-16 08:25 | hgbot | Resolution | open => fixed |
2019-07-16 08:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/87c115a338c25a44e2e36ed1d802493f731409cd [^] |
2019-07-16 11:19 | AugustoMauch | Note Added: 0113398 | |
2019-07-16 11:19 | AugustoMauch | Status | resolved => closed |
2019-07-16 11:19 | AugustoMauch | Fixed in Version | => 3.0PR19Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |