github →

New request

#20768: Dashboard involving deleted object is broken

We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.

Issue
sonarly:high
<img width="1230" height="587" alt="Image" src="https://github.com/user-attachments/assets/2b3943e7-01c5-4001-903e-804c0d1efb0d" />

I got this by creating a dashboard involving widgets from an app, then deleted the app

Assessmentadvisory
bug easy90% confidence

Dashboard widgets referencing a deleted app or object lack null-safety guards, causing the entire dashboard to crash.

Likely files
  • packages/twenty-front/src/modules/views/components/ViewBar.tsx
  • packages/twenty-front/src/modules/views/hooks/useGetView.ts
  • packages/twenty-front/src/modules/views/utils/getViewFilters.ts
  • packages/twenty-front/src/modules/ui/error-boundary/components/AppErrorBoundary.tsx
Create the request

This opens a fresh agent run and a draft PR for issue #20768.

Cancel