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

Required Process Variable Tags shouldn't be accepted via rest api

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.8.0.GA
    • 7.8.0.GA
    • jBPM Core, Kie-Server
    • None
    • Release Notes
    • +
    • Hide

      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample 

      or you can start a new project and:

      1. New Process
      2. Add process variable, String, tag it as required
      3. Deploy the project
      4. Start a new instance Via kie server rest API, submit a payload with an empty string, i.e. {    "name": "" }

       

       

      Show
      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample   or you can start a new project and: New Process Add process variable, String, tag it as required Deploy the project Start a new instance Via kie server rest API, submit a payload with an empty string, i.e. {    "name": "" }    
    • 2020 Week 28-30 (from Jul 6)

      Scenario: a process that has a string process variable tagged with required.

      Action: A user starts a process with an empty string set on the required variable.

       

      Unexpected Result: The process can be started via REST API with an empty string in the payload. i.e.

      {   "name" : "" }

      Expected: The engine should raise an exception

              ftirados Francisco Javier Tirado Sarti
              kvarela@redhat.com Karina Varela (Inactive)
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: