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

ExtensibleXmlParser error thrown for valid process with dynamic user assignment

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      Import attached project or follow these steps:

      1. Create a new process definition
      2. Create a process variable: deptUser (String)
      3. Create a task, set Actors: # {deptUser}
      4. Save the process definition

      Actual result

      Server log contains error messages for valid processes.

      Expected result

      Server log will contain no error messages for valid processes.

      Show
      Import attached project or follow these steps: Create a new process definition Create a process variable: deptUser (String) Create a task, set Actors: # {deptUser} Save the process definition Actual result Server log contains error messages for valid processes. Expected result Server log will contain no error messages for valid processes.
    • Sprint:
      2019 Week 41-43 (from Okt 7)
    • QE Test Coverage:
      +

      Description

      In a process where the task assignment is dynamic, based on a process variable, the following errors are thrown when saving the process definition:

      11:24:13,955 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 4) Process Info: id:case02465772-reproducer.dynamic-ht-test, pkg:com.myspace.case02465772_reproducer, name:dynamic-ht-test, version:1.0 
      Node Info: id: name: 
      Parser message: (null: 58, 31): cvc-complex-type.2.4.b: The content of element 'bpmn2:ioSpecification' is not complete. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":inputSet, "http://www.omg.org/spec/BPMN/20100524/MODEL":outputSet}' is expected.
      11:24:13,955 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 4) Process Info: id:case02465772-reproducer.dynamic-ht-test, pkg:com.myspace.case02465772_reproducer, name:dynamic-ht-test, version:1.0 
      Node Info: id:09d0b12b-72c9-424d-939d-896a7ffaeb07 name: 
      Parser message: (null: 73, 71): cvc-datatype-valid.1.2.1: '09d0b12b-72c9-424d-939d-896a7ffaeb07' is not a valid value for 'NCName'.
      11:24:13,956 ERROR [org.drools.core.xml.ExtensibleXmlParser] (EJB default - 4) Process Info: id:case02465772-reproducer.dynamic-ht-test, pkg:com.myspace.case02465772_reproducer, name:dynamic-ht-test, version:1.0 
      Node Info: id:09d0b12b-72c9-424d-939d-896a7ffaeb07 name: 
      Parser message: (null: 73, 71): cvc-attribute.3: The value '09d0b12b-72c9-424d-939d-896a7ffaeb07' of attribute 'id' on element 'bpmn2:potentialOwner' is not valid with respect to its type, 'ID'.
      

      The execution of the process works without issues.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  treblereel Dmitrii Tikhomirov
                  Reporter:
                  mputz Martin Weiler
                  Tester:
                  Kirill Gaevskii
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: