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

When we Import the JSON file for Calendar the calendars are added multiple times

    XMLWordPrintable

    Details

    • Type: Fix
    • Status: Released (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12
    • Fix Version/s: 1.12.9
    • Component/s: None
    • Labels:
      None

      Description

      Current Situation

      • The JOC Cockpit has an option of Calendars in Resources tab. When we import the JSON file for Calendar the calendars are created, but the same calendar is generated multiple times.

      How to reproduce

      • Login to the JOC Cockpit.
      • Move to Resources tab then calendars.
      • Import a file with more than 5 calendars.
      • The API for the calendars is called multiple times, and hence a single calendar is created multiple times. E.g., if we have 6 calendars in a file, then the total number of calendars will be in multiple of 6. And when we switch the folder, then the number of calendars again becomes 6.

      Desired behavior

      • When we import a JSON file for the Calendar the calendars in the file should not be created multiple times.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ztsa0019 Sourabh Agrawal
                Reporter:
                Kanika-Agrawal Kanika Agrawal
                Approver:
                Aditi Dubey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: