inst-support-eng / panda-pto

Panda-PTO is a in house solution to HR staffing needs
3 stars 0 forks source link

Cannot Create a request on a date which previously had a request which was hard-deleted for a user #177

Closed Steaphan-Sadler closed 5 years ago

Steaphan-Sadler commented 5 years ago

Recreation:

  1. For User X, Create a request on Date A in the future
  2. Delete User X, thereby deleted all future requests
  3. Restore User X
  4. Attempt to create a requests for User X on Date A
Steaphan-Sadler commented 5 years ago

Was caused by incomplete processes in soft-delete commit. It is necessary to update calendar objects when deleting requests/users.