camunda-community-hub/camunda-tasklist-client-java

Bug: TaskListClient does not fetche task variables when withVariables is set to true

sam0r040 opened this issue · 6 comments

Hi,

we just upgraded to version 8.3.1.1 and noticed that there is a bug when fetching tasklist variables. The TaskListClient should fetch task variables when withVariables is set to true. Unfortunately the logic seems to be flipped as the TaskListClient only fetches the variables when withVariables is set to false.

The reason being:

if (!withVariables) {
     variables = taskApi.searchTaskVariables(taskId, new VariablesSearchRequest());
 }
chDame commented

Hi @sam0r040,

Thanks, I'll fix it today!

Can you already say if you will provide a bugfix release soon or will it take some time?

chDame commented

I'll fix it and release it today!

Oh thats great, thanks!

chDame commented

Hi @sam0r040,

Version 8.3.1.2 has been released and is available in maven central and should fix the issue! I'll let you close the issue once you have tested it

Thanks again

Issue is fixed, thanks for the really quick bugfix :)