You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The UUID variable value should be serialized as string like
"value": "201d919d-9974-4813-8628-ae815f311678",
Code
/flowable-rest/src/main/java/org/flowable/rest/service/api/RestResponseFactory.java
method createRestVariable is searching for a convertor list of variableConverters. But there is no variable converter for variable type org.flowable.variable.service.impl.types.UUIDType so the createRestVariable returns a RestVariable with null value.
Additional context
Problem was reproduced on Flowable 6.8.0, but I checked the sources and it exists on main branch too.
Would be nice to have a fix in next 7.0.x release as we are going to upgrade to that version soon.
I am going to provide a Pull request for the fix soon.
The text was updated successfully, but these errors were encountered:
pvojtechovsky
pushed a commit
to pvojtechovsky/flowable-engine
that referenced
this issue
Mar 4, 2024
Describe the bug
The REST API method
flowable-rest/service/query/historic-variable-instances
returns null as value of variable of typeuuid
Expected behavior
The UUID variable value should be serialized as string like
Code
/flowable-rest/src/main/java/org/flowable/rest/service/api/RestResponseFactory.java
method
createRestVariable
is searching for a convertor list ofvariableConverters
. But there is no variable converter for variable typeorg.flowable.variable.service.impl.types.UUIDType
so the createRestVariable returns a RestVariable with null value.Additional context
Problem was reproduced on Flowable 6.8.0, but I checked the sources and it exists on main branch too.
Would be nice to have a fix in next 7.0.x release as we are going to upgrade to that version soon.
I am going to provide a Pull request for the fix soon.
The text was updated successfully, but these errors were encountered: