Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3619

BPMN designer does not parse WID with incorrect properties

XMLWordPrintable

    • False
    • False
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • CR1
    • ER1
    • +
    • Undefined
    • Workaround Exists
    • Hide

      Remove the unrecognized properties from WID.

      Show
      Remove the unrecognized properties from WID.
    • Hide

      1. Create a kjar project in VSCode
      2. In global add WID definitions
      3. Add a property that is a comment or property named "mavenDependecy" or "dependency"

      Show
      1. Create a kjar project in VSCode 2. In global add WID definitions 3. Add a property that is a comment or property named "mavenDependecy" or "dependency"
    • 2021 Week 16-18 (from Apr 19), 2021 Week 28-30 (from Jul 12)

      Summary
      When you have a work item that contains something unexpected but valid MVEL expression, parser will parse the WID but every wid from that file will not be present in Palette.

      This already works for Map like properties:
      "parameterValues" : [ "in_customer_id" : "MrIncognito",],

      Figures that fail the parsing:

      • Comments `// this is a Email workitem` and `/* c style comment also ignored */`
      • List parameters of properties:
        • "mavenDependencies" : ["org.kie:datatype:1.0.0", ""]
        • "dependencies" : ["dep"]
      • Imports `import org.my.pizza`

      Actual Results
      These properties are not parsed and the tasks from WID are not in palette

      Expected Results
      These properties are ignored and tasks from WID are in palette.

      Acceptance Criteria

      • All text before first [ is ignored by parser
      • List parameters ignored by parser
      • all text following // till the end of the line (/n) is ignored by parser
      • all text between /* and */ ignored

              kgaevski@redhat.com Kirill Gaevskii
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: