Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
Description
Current Situation
- When we try to import from .zip archive that includes a non-working days calendar or when we directly upload from a .json file then JOC Cockpit does not import the calendar.
- This issues applies to non-working day calendars only. Find the attached sample.
- JOC Cockpit throws the exception
PARAMS: {"version":"1.1.0","type":"NONWORKINGDAYSCALENDAR","includes":{"weekdays":[{"days":[0,6]}]}} USER: root 2022-06-10T15:12:16,393 ERROR tp1501587365-1080316 c.s.j.c.JOCDefaultResponse - ControllerInvalidResponseDataException: com.sos.joc.exceptions.ControllerInvalidResponseDataException: Unsupported objectType:CALENDAR com.sos.joc.exceptions.ControllerInvalidResponseDataException: Unsupported objectType:CALENDAR at com.sos.joc.inventory.impl.ValidateResourceImpl.validate(ValidateResourceImpl.java:40) ~[sos-webservices-joc-2.4.0-SNAPSHOT.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
Desired behavior
- The calendar should be imported if included in a .zip archive and if uploaded from a .json file.
Attachments
Issue Links
- is related to
-
JOC-1322 Upload of a calendar should adjust the calendar type
- Released