jbeard4 / SCION

SCXML/Statecharts in JavaScript, moved to gitlab: https://gitlab.com/scion-scxml/scion
https://scion.scxml.io
Apache License 2.0
149 stars 29 forks source link

Multiple state identifiers in initial attribute not supported #390

Closed sradomski closed 6 years ago

sradomski commented 7 years ago

When I specify multiple state identifier in the root scxml element via the initial attribute, I do get:

(node:83390) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unable to locate initial state for composite state: $generated-scxml-0

Having only a single state referenced via its id works fine though.

jbeard4 commented 7 years ago

Thanks for reporting. I will look into this.

jbeard4 commented 6 years ago

@sradomski Should be fixed in the latest release (4.3.1). Thanks