[
https://issues.apache.org/jira/browse/ODE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafal Rusin closed ODE-588.
---------------------------
Resolution: Fixed
It looks like it was solved by commit 781860 by Karthick "Define a frame for
the event handler's <scope> activity, so that its variables are resolved
properly."
> Scope inside OnEvent doesn't register variables on runtime
> ----------------------------------------------------------
>
> Key: ODE-588
> URL: https://issues.apache.org/jira/browse/ODE-588
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.3
> Reporter: Rafal Rusin
> Assignee: Rafal Rusin
> Fix For: 1.3.3
>
> Attachments: onevent-scope-variable-fix.diff,
> onevent-scope-variable-test.diff, onevent-scope-variable-workaround.diff
>
>
> I did a construct like this:
> <scope>
> <onevent operation="...">
> <scope>
> <variables>
> ...
> </variables>
> <assign>...</assign>
> </scope>
> </onevent>
> </scope>
> When ODE enters assign activity, which contains a reference to variable
> declared in scope, there is a NPE and job fails.
> Surrounding scope with another scope is a workaround for this problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.