If the OntrackMultiChoiceParameter displays only one option, we get a ClassCastException, because this option is passed as a single Boolean, while we expected a JSONArray of Booleans.
With this fix we first verify the object type and handle it differently in case of a Boolean.
This has been tested ok locally.
If the OntrackMultiChoiceParameter displays only one option, we get a ClassCastException, because this option is passed as a single Boolean, while we expected a JSONArray of Booleans.
With this fix we first verify the object type and handle it differently in case of a Boolean. This has been tested ok locally.