Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4537

Claim operation seems to add empty String to some HumanTask fields

    XMLWordPrintable

Details

    • 2021 Week 13-15 (from Mar 29), 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12)
    • Hide

      1) I have the hello world process of the figure

      2) I create a process instance of the hello world process by using the Open API UI

      3) At the data index we can see that the process was created successfully and that both the priority and description have null values, which is correct.

      4) By using the OpenAPI UI I will execute the "claim" operation. Note that the empty json {} is passed as payload.

      (aside note: if no value is passed a NPE is thrown)

      5) The claim operation in step 4) was executed successfully. But now at the data index level we can see that both the priority and the description has the empty string "" as value.
      That's the bug, in the middle of the execution, don't know exactly if the runtime or at the data index side the empty string was added.

      Show
      1) I have the hello world process of the figure 2) I create a process instance of the hello world process by using the Open API UI 3) At the data index we can see that the process was created successfully and that both the priority and description have null values, which is correct. 4) By using the OpenAPI UI I will execute the "claim" operation. Note that the empty json {} is passed as payload. (aside note: if no value is passed a NPE is thrown) 5) The claim operation in step 4) was executed successfully. But now at the data index level we can see that both the priority and the description has the empty string "" as value. That's the bug, in the middle of the execution, don't know exactly if the runtime or at the data index side the empty string was added.
    • ---
    • ---

    Description

      After executing the claim operation on a HumanTask that has no priority and no description, at the data index we can see that the empty string was added to both fields.

      Attachments

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              wmedvede@redhat.com Walter Medvedeo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: