Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4865

[GSS](6.4.z) "mismatched character" error due to BPM Suite removing "\" from On Entry-Exit Action Scripts

    Details

    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      1. import attached *.bpmn2 file to business-central;
      2. click on Script Task -> Script property: it looks Ok with all "\" slashes;
      3. click on "On Entry Action" property -> it is missing "\" slashes;
      4. even if you copy Script content to On Entry Action, it will remove slashes after saving and re-opening the process definition.

      Show
      1. import attached *.bpmn2 file to business-central; 2. click on Script Task -> Script property: it looks Ok with all "\" slashes; 3. click on "On Entry Action" property -> it is missing "\" slashes; 4. even if you copy Script content to On Entry Action, it will remove slashes after saving and re-opening the process definition.
    • Workaround Description:
      Hide

      no.

      Show
      no.
    • Sprint:
      2017 Week 34-35, 2017 Week 36-37, 2017 Week 38-39, 2017 Week 40-41-42

      Description

      BPM Suite 6 removes "\" from "On Entry-Exit Action" fields after saving a process definition which results in "mismatched character".

      In a Script Task, it happens only in "On Entry-Exit Action" fields, it works well for Script field. For instance:

      Before saving (Script Task - "On Entry Action" field):

      String pName = "product";
      String link =  "<a href=\"#\" onclick=\"window.open('" + pName + "', '', 'width=800,height=600,toolbar=0,status=0');\">View Instruction</a>";
      

      After saving:

      String pName = "product";
      String link =  "<a href="#" onclick="window.open('" + pName + "', '', 'width=800,height=600,toolbar=0,status=0');">View Instruction</a>";
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsurdilovic Tihomir Surdilovic
                  Reporter:
                  asamara Amana Juricic
                  Tester:
                  Kirill Gaevskii
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: