Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1321

Unable to import non-working days calendar in JOC Cockpit

    XMLWordPrintable

Details

    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

          Activity

            People

              oh Oliver Haufe
              divyani-rathore Divyani Rathore
              Divyani Rathore Divyani Rathore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: