[Interest] Again trouble with SCXML donedata

Bublitz, Wolf W.Bublitz at KROHNE.com
Tue Jan 3 10:21:55 CET 2017


Hallo,

at the end of last year I have already ask for some help concerning the SCXML donedata event (was not emitted) with the former SCXML preview module of Qt 5.7. Noch I have updated to Qt 5.8 RC but I am still facing the same problem.

I have the following final state in my state machine:

<final id="Leave">
<onentry>
                                <log label="finished" expr="'finished'" />
                </onentry>
                <donedata>
                                <param name="value" expr="42" />
                </donedata>
</final>

On QML side the donedata event is catched like this:

EventConnection {
stateMachine: p.stateMachine
                events: ["done.state.Leave"]
                                onOccurred: {
                                console.log("done: " + event.name + " [" + event.data + "]")
                }
}

According to the log message the state "Leave" is reached, but the done.state.Leave event is not triggered.

What is wrong here?

Many Thanks in advance for your help!


Wolf Bublitz


KROHNE Innovation GmbH
Ludwig-Krohne-Str. 5, 47058 Duisburg, Germany, Tel.: +49 (0) 203 301 0, Fax : +49 (0) 203 301 10 389, www.krohne.com
Sitz der Gesellschaft: Duisburg HRB 9313
Geschaeftsfuehrer: Dr. Attila Bilgic, Ingo Wald   

HINWEIS
Diese E-Mail kann vertrauliche Informationen beinhalten und ist ausschliesslich fuer die im Verteiler genannten Personen bestimmt. Wenn Sie nichtim Verteiler genannt sind, lesen oder verbreiten Sie diese Informationen NICHT; loeschen Sie bitte diese E-Mail. Unsere ausgehenden E-Mailseinschliesslich deren Anlagen werden mit aktuellen Virenscannern geprueft, wir uebernehmen aber keinerlei Garantie dafuer, dass diese E-Mailvirenfrei ist. Weiterhin uebernimmt die KROHNE Innovation GmbH keinerlei Verantwortung fuer einen evtl. Schaden oder Verlust, der sich aus dem Erhaltdieser Nachricht ergibt. Falls nicht ausdruecklich vermerkt, ist diese E-Mail keine gesetzlich bindende Vereinbarung.

NOTE
The information transmitted in this email is for the person or entity to which it is addressed: it may contain information that is confidentialand/or legally privileged. If you are not the intended recipient, please do not read, use, retransmit or disseminate this information.Although this email and any attachments are believed to be free of any virus, it is the responsibility of the recipient to ensure that they are virus free.No responsibility is accepted by the KROHNE Innovation Company for any loss or damage arising from receipt of this message. Furthermore, unless explicitly stated,this email is in no way a legally binding agreement. The views represented in this email do not necessarily represent those of the corporation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170103/f8ff1aee/attachment.html>


More information about the Interest mailing list