[ http://issues.apache.org/jira/browse/SCXML-21?page=all ]
Rahul Akolkar updated SCXML-21: ------------------------------- Fix Version/s: 0.6 > Send an event by delay attribute, with the targettype attribute is absent > ------------------------------------------------------------------------- > > Key: SCXML-21 > URL: http://issues.apache.org/jira/browse/SCXML-21 > Project: Commons SCXML > Issue Type: Bug > Affects Versions: 0.5 > Environment: Windows XP Professional (Service Pack 2) - Version: > Portuguese > CPU: Pentium 4; 2,80 GHz; 512 MB > Reporter: Raimundo Santos Moura > Fix For: 0.6 > > > There is a bug, when one try to run the code below: > Scenario: In state "Off", by trigger of the event <ev1>, i need to wait 10s > in state "On"; after this time, i should return to state "Off". The attribute > <delay> doesn't work well (seemingly). > <?xml version="1.0"?> > <scxml xmlns="http://www.w3.org/2005/07/SCXML" version="1.0" > initialstate="Off"> > <state id="Off"> > <transition event="ev1" target="On"/> > </state> > <state id="On"> > <onentry> > <log expr="'Inside On...'"/> > <send event="Timer" delay="10s"/> > </onentry> > <transition event="Timer" target="Off"/> > <onexit> > <log expr="'Leaving On...'"/> > </onexit> > </state> > </scxml> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]