Affects Version/s: OpenIDM 6.0.0, 6.5.0
When you delete a managed user with a non-existent relationship, the HTTP DELETE command returns a 404 Not found although the user is deleted.
- Create user1
- Create user2
- Create a direct report (user1 reports to user2)
- Use the UI (or a script) to delete both users at the same time
- Because users are deleted simultaneously, the user1 deletion returns a 404 (which is because the relationship object no longer exists) although the user is deleted.
- Check the gif recording: https://recordit.co/GCuYQq8bgE
Since the user is actually deleted, the HTTP response should be a 200 OK. The 404 which is caused by the non-existing relationship object, is misleading.
Perhaps, it should ignore the relationship object deletion failure (since the user is eventually deleted).
Delete the users one-by-one