commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Tillberg (JIRA)" <>
Subject [jira] Updated: (SCXML-54) Events from custom actions missing payload
Date Sat, 25 Aug 2007 17:13:30 GMT


Mike Tillberg updated SCXML-54:

    Attachment: SCXMLTestHelper.patch

This fixes a small, potential issue I found while examining this problem.  The SCXMLTestHelper
generates JexlContexts directly, rather than calling evaluator.newContext(null).  This doesn't
have any effect on the tests, including the EL one I attached, but this would seem to be the
safer way to create contexts.

> Events from custom actions missing payload
> ------------------------------------------
>                 Key: SCXML-54
>                 URL:
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: 20070730 nightly build
>            Reporter: Mike Tillberg
>            Priority: Minor
>         Attachments: custom-hello-world-04-el.xml, custom-hello-world-04-jexl.xml,,, SCXMLTestHelper.patch
>    I'm trying to generate events from custom events by adding 
> TriggerEvent objects into the derivedEvents argument.  This is working 
> in terms of triggering transitions, however I'm unable to properly 
> access the payload from these generated events, depending on the 
> evaluator being used.  With the EL evaluator, _eventdata and 
> _eventdatamap seem to be empty when the transition fires.  With JEXL, 
> the payload is available, however the assignments seem to be in a local 
> context, even though the variable I'm assigning should only exist in the 
> root context.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message