major
nice-to-have
minor
minor
#25845
NullPointerException beim Zugriff auf gesperrte Objekte
If a lock exists on an object but its parent is deleted, a NullPointerException occurs in Technical Administration > Locks because the locked object no longer exists. This error occurs only when the application is shut down while an object is being edited. It cannot be reproduced by having one user edit an object while another deletes its parent. Furthermore, the error cannot be reproduced in the demo; so far, it has only been observed in TL-Doc.
Improvement
To resolve this error in TL-Doc and any other affected systems in the future, a null check has been implemented to prevent the NPE.
Test
Launch TL-Doc, create a page (A), and create another subpage (B) below it. Select page B and switch to edit mode. Restart the application and then delete page A. If you now go to Technical Administration > Lock, no NPE should appear.