# Bug OP-13315 - Wiki: embedded work package table: filter on (deleted) subprojects prevents editing 

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.1.0 |
| Observed in versions |  |
| Sprint | 13.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Before filing a report

_Before you file a report, please ensure you are running the latest version of OpenProject and_   
_have searched for similar bug reports._

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Have a Project with a subproject
2.  Subproject must contain work packages
3.  Create a wiki page in the upper project and add a macro &quot;embedded work package table&quot;. Configure the filter to show the work packages from the subproject
4.  Delete the subproject and navigate back to the wiki page
5.  The following error is displayed (expected behavior):

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

### What is the buggy behavior?

_Please describe the bug in as much detail as possible. Example:_

*   Trying to edit the filter settings in the embedded work package table and remove the wrong filter fails with the same error message 
*   the error message appears at the bottom of the page and is only visible after scrolling  
    <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/68916/content">

### What is the expected behavior?

_Describe how the application should behave like. Example:_

1.  The misconfigured work package table should be editable
2.  The error message should appear higher up and more prominent

###   

### Environment information

_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_

**OpenProject installation type**

*   [ ] Hosted cloud edition
*   [x] Packaged installation
    *   What distribution? 12.5.2 Enterprise (also tested with 13.1.0 on edge environment)
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

  

**Browser**

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

**Language**

_DE / EN_
