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

[GSS](6.4.z) Unable to open a process definition in editor mode in business-central 6.4.6 if On Exit/Entry Script field is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.4.8
    • 6.4.6
    • Business Central
    • JBDS 11
      BPM Suite 6.4.6

    • CR1
    • Workaround Exists
    • Hide

      Go into the xml and remove the empty on-entry/exit script tag manually.

      Show
      Go into the xml and remove the empty on-entry/exit script tag manually.
    • Hide

      1. Install JBDS 11.1;
      2. Install Drools and jBPM Plug-in;
      3. Created a jBPM project from Wizard and added an User Task;
      4. In User Task - On Entry and On Exit Script fields, add a simple java code such as: System.out.println("Hi");
      5. Save process definition;
      6. Delete text in on entry/exit script fields;
      7. Save process definition.;
      8. Observe in the xml an empty on entry/exit script tag such as:

      ~~~
      <tns:onEntry-script scriptFormat="http://www.java.com/java"/>
      ~~~
      Note that this tag declares the scriptFormat but does not have a subsequent <script> tag. This will cause an error when viewing the process diagram in business central.

      9. Upload it to business-central and try to open it.

      Show
      1. Install JBDS 11.1; 2. Install Drools and jBPM Plug-in; 3. Created a jBPM project from Wizard and added an User Task; 4. In User Task - On Entry and On Exit Script fields, add a simple java code such as: System.out.println("Hi"); 5. Save process definition; 6. Delete text in on entry/exit script fields; 7. Save process definition.; 8. Observe in the xml an empty on entry/exit script tag such as: ~~~ <tns:onEntry-script scriptFormat="http://www.java.com/java"/> ~~~ Note that this tag declares the scriptFormat but does not have a subsequent <script> tag. This will cause an error when viewing the process diagram in business central. 9. Upload it to business-central and try to open it.
    • 2017 Week 49-50, 2017 Week 51-52, 2018 Week 01-02, 2018 Week 03-04

    Description

      The issue happens when creating a process definition in JBDS 11 which had on entry/exit script removed for any task node, then imported to business-central. By trying to open it, it opens only as XML editor.

      It happened only in BPM Suite 6.4.6, it opened properly in 6.4.5. Pleaser see attached a bpmn file which could be used for tests.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-ajuricic Amana Juricic
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: