Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6805

Designer produces XSD-invalid process XML if any node has zero X or Y coordinate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Designer
    • None
    • NEW
    • NEW
    • 2018 Week 05-06

      Description of problem:
      In such case the "x" or "y" attribute of Bounds element in BPMNDiagram section is omitted, however these attributes are required as seen here https://github.com/worktokenteam/worktoken/blob/master/bpmn/DC.xsd. Having such process in the project produces error log messages on each project build:

      11:01:11,187 ERROR [org.drools.core.xml.ExtensibleXmlParser] (pool-13-thread-1) (null: 58, 48): cvc-complex-type.4: Attribute 'x' must appear on element 'dc:Bounds'.

      Version-Release number of selected component (if applicable):
      ER7

      How reproducible:
      -

      Steps to Reproduce:
      1. open existing process
      2. move Start node to the left border of designer canvas
      3. save the process (error is logged)
      4. build the project to repeat the error message in server log

      Actual results:
      "x" attribute in Bounds element related to the start node is missing. XML validation error is logged.

      Expected results:
      "x" attribute should be present and set to "0.0" to keep the process XML valid.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: