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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030323
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2015-07-07 08:532022-02-01 08:09
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0030323: tree reference cannot be used in as parameter in process definition

DescriptionIt 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00299783.0PR15Q4 closedNaroaIriarte Not possible to use tree reference selector in a pick and execute window grid 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker