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

SAXParseException when saving GlobalVariable without type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.8.0.GA
    • jBPM Designer
    • CR2
    • Hide
      1. Open process  (existing or new)
      2. Add global variable without data type
      3. There is an Alert with ERROR, located also in container console.log
      4. Add some nodes to make the process able to deploy
      5. Try building the project, it fails with same ERROR as in Alert
      Show
      Open process  (existing or new) Add global variable without data type There is an Alert with ERROR, located also in container console.log Add some nodes to make the process able to deploy Try building the project, it fails with same ERROR as in Alert

    Description

       ERROR shown to user:

      08:04:57,333 ERROR [stderr] (EJB default - 1) org.xml.sax.SAXParseException; lineNumber: 77; columnNumber: 49; <global> requires a 'type' attribute
      08:04:57,334 ERROR [stderr] (EJB default - 1) 	at org.drools.core.xml.BaseAbstractHandler.emptyAttributeCheck(BaseAbstractHandler.java:47)
      08:04:57,334 ERROR [stderr] (EJB default - 1) 	at org.jbpm.bpmn2.xml.GlobalHandler.start(GlobalHandler.java:55)
      

      And the BUILD of the project fails, but I expect that is correct behavior as the variable should have type.

      After saving the process, variable is present in XML and above error is shown in console and Alerts.

      Attachments

        Issue Links

          Activity

            People

              david.magallanes David Gutierrez
              dhanak@redhat.com Dominik Hanak
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: