Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18345

scxml editor force event id to transitions

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.4.1
    • None
    • Editors
    • None

      When scxml editor open a file containing an eventless transition (i.e. lacking the 'event' attribute) it force the event id to a default one (i.e Transition_1)

      Since using "*" event id is not a workaround and eventless transitions works correctly in Qt scxml, I suggest to remove this behavior from editor.

      from www.w3.org/TR/scxml:

      "An event designator consisting solely of "*" can be used as a wildcard matching any sequence of tokens, and thus any event. Note that this is different from a transition lacking the 'event' attribute altogether. Such an eventless transition does not match any event, but will be taken whenever its 'cond' attribute evaluates to 'true'."

        For Gerrit Dashboard: QTCREATORBUG-18345
        # Subject Branch Project Status CR V

            mabenell Marco Benelli
            ermando.ferrari Ermando Ferrari
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes