JOC - JobScheduler Operations Center
  1. JOC - JobScheduler Operations Center
  2. JOC-466

REST Web Service ./events/custom/delete_events should not delete all events if the "ids" parameter is empty

    Details

      Description

      Current Situation

      The web service ./events/custom/delete_events deletes all events if the parameter ids which is an array is empty in the request body.
      The web service expects numbers in the ids array.
      If there are strings in this array that cannot be converted to a number, they are discarded, so that an empty array can unintentionally be created and all events can be deleted.

      Desired Behavior

      If the ids array is empty then no event will be deleted.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Oliver Haufe
            Reporter:
            Oliver Haufe
            Approver:
            Mahendra Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: