Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.3
-
64b4f30e3 (dev)
Description
Scxml's foreach element has array attribute which is supposed to be evaluated:
https://www.w3.org/TR/scxml/#foreach
But qtscxml only tries to read a property of that name from datamodel.
So basically this wouldn't work:
<datamodel> <data id="SomeObject" expr="{ Variables : [ { one : 1}, { two : 2}, { three : 3} ] } " /> </datamodel> ... <foreach array="SomeObject.Variables" item="variable" index="varindex">
Attachments
For Gerrit Dashboard: QTBUG-135827 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
652585,5 | Fix foreach array evaluation | dev | qt/qtscxml | Status: MERGED | +2 | +1 |