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

scxml editor force event id to transitions

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Qt Creator 4.4.1
    • Component/s: Editors
    • Labels:
      None

      Description

      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'."

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes