# Bug OP-18109 - Blank page and error 404 when calendar, board, team planner, role is deleted

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18109

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Calendar |
| Target versions | 17.4.0 |
| Observed in versions | 16.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Sirius Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### 

### Steps to reproduce

1.  Login and open a projects/Calendars

2.  On the calendars index page, click on the bin to delete a calendar

### What is the buggy behavior?

  - Error 404 and the blank page

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/799709/content">

### What is the expected behavior?

1.  Index page should show as on prod (16.5)

### Note

There were also problems with the following cases. They should all be fixed as well, but I don't know how reproducible the errors are from the UI. Observing the network tab should help.

1\. Jira Import Instance (/admin/import/jira/instances)  
 - Go to Administration → Import → Jira  
 - Add a Jira instance  
 - Delete it (but I'm not sure if that's possible from the UI, at least I couldn't find the delete button)

 2. Enumerations (/admin/enumerations)  
 - Go to Administration → Work package priorities  
 - Delete a priority

 3. Forums (/projects/:id/forums)  
 - Go to a project → Forums  
 - Delete a forum

 4. Roles (/roles)  
 - Go to Administration → Roles and permissions  
 - Delete a role

 5. Boards (/projects/:id/boards  
 - Go to a project → Boards  
 - Delete a board

 6. Cost log (/cost\_entries/:id)  
 - Log a cost entry on a work package  
 - Delete it from the work package view  
 - Delete it from the Cost Reports view

 7. Deploy Targets (/deploy\_targets)  
 - Go to Administration → GitHub → Deploy targets  
 - Delete a deploy target

 8. LDAP Groups Synchronized Filters (/ldap\_groups/synchronized\_groups)  
 - Go to Administration → LDAP groups → Synchronized filters  
 - Delete a filter

 9. File Storages (/admin/settings/storages)  
 - Go to Administration → File storages  
 - Delete a storage

 10. Team Planner (/projects/:id/team\_planners)  
 - Go to a project → Team Planner  
 - Delete a team planner view

### Environment information

**OpenProject version**

*16.6.0*

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [x] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
