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

Attaching boundary event in Internet Explorer 11 may produce unparsable BPMN2 source

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0
    • 6.1.0
    • jBPM Designer
    • None

      Description of problem:
      In diagram section of BPMN2 source file, edge and shape elements are expected (by jBPM parser) to have both "x" and "y" attribute. However jBPM Designer leaves the "x" or "y" attribute out in case its value is 0.0. This results in jBPM engine failure when parsing the process source file.

      This situation may occur when attaching intermediate event to a task node (i.e. boundary event). When the event is dropped exactly at the top (y="0.0") or left (x="0.0") border of the task because the event's coordinates are expressed relative to the task node's top left corner.

      I only achieved this with Internet Explorer on Windows 8 in VirtualBox. Tried to reproduce with Firefox and Chrome on Fedora but the smallest x/y coordinate value I could get was 1.0, never 0.0 even if I placed mouse cursor exactly over task border when dropping the event.

      Version-Release number of selected component (if applicable):
      6.1.0.CR2

      How reproducible:
      -

      Steps to Reproduce:
      1. Create/open a simple process with a task node.
      2. Expand Catching Intermediate Events section in Object Library.
      3. Drag Error event and drop it over the task to create a boundary event (task border must be highlighted in green, mouse cursor must be exactly at task border).

      Actual results:
      jBPM engine fails to parse BPMN2 source files produced by jBPM Designer

      Expected results:
      No matter how specific and unlikely this condition is, a systematic solution should be implemented to prevent such issues. Either jBPM Designer code that produces BPMN2 source should be altered to always declare the x/y coordinate attribute even if its value is 0.0, or jBPM engine parser should be made less pedantic about process diagram section.

      Additional info:

              jeremylindop_jira Jeremy Lindop (Inactive)
              jlocker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: