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

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

XMLWordPrintable

      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.

      Additional info:

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              jlocker Jiří Locker (Inactive)
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: