Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041894 | Openbravo ERP | A. Platform | public | 2019-09-26 17:07 | 2019-09-27 10:55 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR19Q2.3 | Fixed in Version | 3.0PR19Q2.3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
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 | 0041894: Masked String reference can leave ADCS in an inconsitent state | |||||||||||
Description | Windows with tabs with fields which columns have a Masked String reference can lead the system to an inconsistent state making fail that windows generation. ADCS does not completely initialize those references. | |||||||||||
Steps To Reproduce | Preparation 1. As Sys Admin 2. Edit Organization table, description column 3. Change its reference to Masked String 4. Add a sub reference to a new mask 5. Set all modules as not in development 6. Restart Tomcat Steps 1. Open Organization window 2. Restart Tomcat 3. Log in with the same browser session and open Organization window 4. In a different browser log in and open Organization window ERROR: Caused by: java.lang.IllegalStateException: freemarker.template.TemplateModelException: get(fieldProperties) failed on instance of org.openbravo.client.application.window.OBViewFieldHandler$OBViewField at org.openbravo.client.kernel.freemarker.FreemarkerTemplateProcessor.processTemplate(FreemarkerTemplateProcessor.java:70) ~[classes/:?] ... Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ADReference.oBCLKERREFMASKList, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:602) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:217) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:161) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.hibernate.collection.internal.PersistentBag.size(PersistentBag.java:287) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final] at org.openbravo.client.kernel.reference.MaskedStringUIDefinition.getFieldProperties(MaskedStringUIDefinition.java:34) ~[classes/:?] at org.openbravo.client.application.window.OBViewFieldHandler$OBViewField.getFieldProperties(OBViewFieldHandler.java:1435) ~[classes/:?] | |||||||||||
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. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-09-26 17:14 | alostale | Type | defect => backport | |||||||||
2019-09-26 17:14 | alostale | Target Version | => 3.0PR19Q2.3 | |||||||||
2019-09-27 10:14 | hgbot | Checkin | ||||||||||
2019-09-27 10:14 | hgbot | Note Added: 0114832 | ||||||||||
2019-09-27 10:14 | hgbot | Status | scheduled => resolved | |||||||||
2019-09-27 10:14 | hgbot | Resolution | open => fixed | |||||||||
2019-09-27 10:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q2.3/rev/089c86e08874dd781a71447a46292535da75ac30 [^] | |||||||||
2019-09-27 10:55 | caristu | Note Added: 0114837 | ||||||||||
2019-09-27 10:55 | caristu | Status | resolved => closed | |||||||||
2019-09-27 10:55 | caristu | Fixed in Version | => 3.0PR19Q2.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|