# User delete cause Dashboard collapse

**URL:** <https://community.datagerry.com/t/user-delete-cause-dashboard-collapse/631>\
**Category:** Report a Bug\
**Created:** [July 17, 2024, 7:04am UTC](https://community.datagerry.com/t/user-delete-cause-dashboard-collapse/631 "2024-07-17T07:04:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jahorva](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jahorva](https://community.datagerry.com/u/jahorva)\
**Post date:** [July 17, 2024, 7:04am UTC](https://community.datagerry.com/t/user-delete-cause-dashboard-collapse/631/1 "2024-07-17T07:04:09Z")

</div>

Hi guys,

Today we realized that if we delete a user, Dashboard gets collapsed. The reason after running through the browser inspector seems to be that the given user had objects that should be listed in the “Newest objects” and “Last modified objects” section of the Dashboard and this two object request gets 500 from the backend which makes Datagerry to go to the /connect page.

---

<div class="post-metadata">

**Author:** ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)\
**Post date:** [July 17, 2024, 7:32am UTC](https://community.datagerry.com/t/user-delete-cause-dashboard-collapse/631/2 "2024-07-17T07:32:15Z")

</div>

Hi @jahorva,  
thanks for this input, we could reproduce the issue. We will fix that in a future release.

As a hotfix you can change the “author\_id” and “editor\_id” (if it is set) of the objects in the database. (The collection is cmdb.framework.objects).

Set the value to 1 (this is the admin user which is not deletable).

BR Adnan
