You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rahul Akolkar (JIRA)" <ji...@apache.org> on 2008/04/26 04:05:58 UTC
[jira] Reopened: (SCXML-64) datamodel should not be allowed in
transition.
[ https://issues.apache.org/jira/browse/SCXML-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Akolkar reopened SCXML-64:
--------------------------------
Since it doesn't look like we will have a validating digester till atleast the next draft, it makes sense to try to improve the error reporting as indicated in the discussion on this issue. I intend to take a stab at that soon.
> datamodel should not be allowed in transition.
> ----------------------------------------------
>
> Key: SCXML-64
> URL: https://issues.apache.org/jira/browse/SCXML-64
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.6
> Environment: win xp, java 1.5
> Reporter: Ross Yakulis
> Priority: Minor
> Attachments: fails.xml, TransitionBugTest.java, TransitionBugTestSuite.java, works.xml
>
>
> <transition event="my.event" target="somewhere">
> <datamodel>
> <data name="dummy" expr="somedata"/>
> </datamodel>
> <log expr="dummy" />
> <log expr="'*****' + dummy" />
> /transition>
> Given the above transition, the first log logs null, send log causes a nullpointerexception. Acording to the SCXML spec datamodel is not allowed in a transition only globally and at the state level.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.