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

        1. image-2023-06-21-16-32-24-652.png
          16 kB
          Roger Martinez
        2. image-2023-06-21-16-32-31-335.png
          6 kB
          Roger Martinez
        3. image-2023-06-21-16-32-41-424.png
          6 kB
          Roger Martinez

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

              Created:
              Updated: