Info: It seems this bug is correlated to issue #102 . However the steps to reproduce are slightly different.
Steps to reproduce:
- Create user A.
- Share a calendar from other user Y with user A.
- Delete user A.
- Try to view calenders for user Y.
- Exception occurs: An exception has been thrown during the rendering of a template ("Entity of type 'App\Entity\Calendar' for IDs id(8) was not found
Expected behavior: Delete only users calender without affecting origin calendars.
Version: 4.0.0 ; 5.0.2; 5.1.0
Side Node:
Maybe it is possible to backport this fix to version 4.0.0