Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9433

SWF Editor - Workflow templates contain an invalid identifier

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---

      When creating or even an empty workflow or the example by using the codelenses templates, it generates a workflow identifier which contain white-spaces:

      It is well known that actually we only support valid Java names as for the id attribute. Otherwise, the diagram editor will not properly update the necessary content (it just updates whole content every time), also the runtime will not build/compile properly, as the value for the id is not a valid java identifier. 

      Actions to take:

      • Figure out if runtimes already support white-spaces and other characters
      • If so, fix stunner updateContent logic based on the id

              eignatow Eder Ignatowicz
              romartin@redhat.com Roger Martinez
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: