[
https://jira.jboss.org/jira/browse/JBPM-2494?page=com.atlassian.jira.plug...
]
Joram Barrez resolved JBPM-2494.
--------------------------------
Resolution: Done
Renamed isProcessInstance -> getIsProcessInstance and added a testcase for testing the
expression
Cannot resolve processInstance through expression
-------------------------------------------------
Key: JBPM-2494
URL:
https://jira.jboss.org/jira/browse/JBPM-2494
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: jBPM 4.0
Reporter: Joram Barrez
Assignee: Joram Barrez
Priority: Minor
Fix For: jBPM 4.2
The Execution interface has 2 methods:
* getProcessInstance()
* isProcessInstance()
The expression #{execution.processInstance.id} will fail because it resolves a boolean
(seconde method).
So one of the two should be renamed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira