Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0030323 | Openbravo ERP | A. Platform | public | 2015-07-07 08:53 | 2022-02-01 08:09 | |||||||
Reporter | alostale | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | acknowledged | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0030323: tree reference cannot be used in as parameter in process definition | |||||||||||
Description | It is not possible to define a tree reference selector as a parameter for a process definition. | |||||||||||
Steps To Reproduce | * Create a Tree Reference selector for Organization [1] * Create a new process definition and with a parameter for that new reference * Open that process definition. -> This error appears in log and window is not opened: 1f923ef8 487345 [http-8080-1] ERROR freemarker.runtime - get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter The problematic instruction: ---------- ==> ${param.parameterProperties} [on line 63, column 5 in template] in user-directive createParameter [on line 141, column 7 in template] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(parameterProperties) failed on instance of org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter ... Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446) at org.openbravo.client.kernel.reference.FKTreeUIDefinition.getParameterProperties(FKTreeUIDefinition.java:193) at org.openbravo.client.application.window.OBViewParameterHandler$OBViewParameter.getParameterProperties(OBViewParameterHandler.java:275) ... 86 more [1] http://wiki.openbravo.com/wiki/How_to_Create_a_Tree_Selector [^] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-07-07 08:53 | alostale | New Issue | ||||||||||
2015-07-07 08:53 | alostale | Assigned To | => platform | |||||||||
2015-07-07 08:53 | alostale | Modules | => Core | |||||||||
2015-07-07 08:53 | alostale | Triggers an Emergency Pack | => No | |||||||||
2015-07-07 08:53 | alostale | Status | new => acknowledged | |||||||||
2015-07-07 08:54 | alostale | Relationship added | related to 0029978 | |||||||||
2022-02-01 08:09 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |