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

ExtensibleXmlParser error thrown for valid process with dynamic user assignment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.27.0.Final
    • Designer
    • None
    • NEW
    • NEW
    • 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
      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

      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.

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: