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

Stunner - it is not possible to open a process if you put incorrect symbol inside of Event trigger name

    XMLWordPrintable

Details

    • CR1
    • Hide

      1. Create a process with Signal Star Event.
      2. Set as Signal: ~`!@#$%^&*()_+=-{}|][:"';?><,./
      3. Save close and try to reopen process

      Actual Result:
      You are able to put invalid symbols inside of trigger name. And it is impossible to reopen process after it.

      Expected Result:
      It is not allowed to add incorrect symbols to trigger name. Process can be opened at least in XML editor with notification why it is impossible to open the process in Designer to help user to fix an issue.

      Show
      1. Create a process with Signal Star Event. 2. Set as Signal: ~`!@#$%^&*()_+=-{}|][:"';?><,./ 3. Save close and try to reopen process Actual Result: You are able to put invalid symbols inside of trigger name. And it is impossible to reopen process after it. Expected Result: It is not allowed to add incorrect symbols to trigger name. Process can be opened at least in XML editor with notification why it is impossible to open the process in Designer to help user to fix an issue.

    Description

      It is possible to put symbols like: ~`!@#$%^&*()_+=-{}|][:"';?><,./ to trigger name ("Message Ref", "Error Ref", "Signal Ref").

      • If you close process and tries to compile project you will see an error 1.
      • If you try to open process and fix it you will see and you will be not able to open a process. It can lead to data loss.

      Error 1:

      [KBase: defaultKieBase]: unable to parse xml : Exception class org.xml.sax.SAXParseException : The entity name must immediately follow the '&' in the entity reference.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-pefernan Pere Fernandez Perez
              kgaevski@redhat.com Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: