[
https://jira.jboss.org/jira/browse/JBPM-1464?page=com.atlassian.jira.plug...
]
Guillaume Porcher commented on JBPM-1464:
-----------------------------------------
Just replacing EnvironmentTypeRefDescriptor by a ContextTypeRefDescriptor fixes the test,
but may not work in other situations.
A solution could be to implement a TypedInjection that will look in the current context,
and then in the currentEnvironment if it exists.
Fix ObjectDescriptor.addTypedInjection(...)
--------------------------------------------
Key: JBPM-1464
URL:
https://jira.jboss.org/jira/browse/JBPM-1464
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: PVM
Reporter: Guillaume Porcher
Assignee: Tom Baeyens
Priority: Critical
There is a problem with ObjectDescriptor.addTypedInjection(...).
This method uses a EnvironmentTypeRefDescriptor, so this does not work if we use
EnvironmentFactory.get(objectName) method (which is the case in
org.jbpm.pvm.samples.ex11.AsynchronousContinuationsTest).
--
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