# Bug OP-10127 - Cannot inline-create a work package on views that filter by WP ID

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

## Open points

_No work packages_

## Details

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

## Planning

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

## Costs

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

## Description

### **Environment**:

community.openproject.org (12.1.0), qa-edge

### **Steps to reproduce:**

1.  Go to the standard work package view
2.  Add a filter &quot;ID&quot; and add at least one work package to it.
    1.  (for example look at https://community.openproject.org/projects/expedition/work\_packages?query\_id=1612
3.  Click on &quot;+ Create new work package&quot; link

### **Actual Behavior**

*   Work package cannot be created via the link
    *   There is an internal error in console.
*   It works properly via the dropdown menu (green button)

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/30245/content"></div></figure>

### **Expected Behavior**

Work package can be created via inline create
