Organization chart : When a manager's contact file is deleted, it crashes the organization chart display #3058
Labels
3. to review
Waiting for reviews
bug
Something isn't working
feature: contacts
feature: organization chart
Describe the bug
While testing this new feature, I deleted the manager of Dark Sidious and then the chart cannot be displayed anymore.
To make it appear again, I have to delete de "Manager" field entry in the Dark Sidious contact file.
Steps to reproduce
Expected behavior
When a "manager" contact is deleted, all dependencies should be deleted in order to avoid chart explosion.
Actual behavior
It crashes because of remaining broken dependencies.
Contact version
5.0.1
Operating system
CentOS
PHP engine version
PHP 8.0
Web server
Nginx
Database
MySQL
Additional info
No response
The text was updated successfully, but these errors were encountered: