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

Text Annotation causes ERROR: Attribute 'name' is not allowed to appear in element 'bpmn2:textAnnotation'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.58.0.Final
    • Designer
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Hide
      1. In Business Central, import attached project or create simple process and add text annotation.
      2. Click Validate button and check server.log.

      Actual result

      Server.log contains error message.

      Expected result

      The error message from the description is not present in server.log.

      Show
      In Business Central, import attached project or create simple process and add text annotation. Click Validate button and check server.log. Actual result Server.log contains error message. Expected result The error message from the description is not present in server.log.

      In process designer(stunner) of business central, when adding text annotation, the following error appears in server.log.

      ERROR [org.drools.core.xml.ExtensibleXmlParser] (Thread-119) Process Info: id:textAnnotationErrorReproducer.test, pkg:com.cee, name:test, version:1.0 
      Node Info: id:_55CF5C6D-9AB5-4C39-B83F-96D5D4207817 name: 
      Parser message: (null: 23, 64): cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.omg.org/spec/BPMN/20100524/MODEL":endEvent}'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
      

      Since validation succeeds and the process works without problem even though the ERROR happens, this can be ignored, but it's hard  for the user to confirm if  there is no problem or not. Since this error appears when opening/saving bpmn, performing validation and building kjar, so this is annoying and should be eliminated.

       

              jenrique@redhat.com Jaime Enriquez (Inactive)
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: