Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.7.2
-
None
Description
Current Situation
- Configuration View
- Bulk removal operation for workflows and schedules
When trying to remove workflows or schedules with the bulk removal operation that is provided in the list of workflows/schedules, an error message is displayed and the dependencies are not displayed correctly
2024-12-06T11:16:55,533 INFO qtp1904324159-47086 c.s.j.c.JOCDefaultResponse - REQUEST: ./inventory/dependencies PARAMS: {"configurations":[{}],"operationType":"REMOVE"} USER: root 2024-12-06T11:16:55,533 ERROR qtp1904324159-47086 c.s.j.c.JOCDefaultResponse - com.sos.schema.exception.SOSJsonSchemaException: $.configurations[0].name: is missing but it is required or $.configurations[0].type: is missing but it is required com.sos.schema.exception.SOSJsonSchemaException: $.configurations[0].name: is missing but it is required or $.configurations[0].type: is missing but it is required at com.sos.schema.JsonValidator.validate(JsonValidator.java:570) ~[sos-raml-2.7.2.jar:?] at com.sos.schema.JsonValidator.validate(JsonValidator.java:426) ~[sos-raml-2.7.2.jar:?]
The error is thrown with the endpoint /api/inventory/dependencies and the payload
{"configurations":[{}],"operationType":"REMOVE"}
How to reproduce
- Open a workflow folder that contains more than 1 workflow
- Select all workflows in the displayed list
- Click the remove button.
Desired Behaviour
The bulk removal operation should work without violating the JSON Schema.