# Bug OP-9624 - Form configuration query can not be edited if invalid

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.5 |
| Observed in versions |  |
| Sprint | 12.0.5 |
| 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

### **Steps to reproduce:**

1.  Have a form configuration with a query
2.  Make that query invalid (e.g., select a project filter, save, and then archive that project)
3.  Try to open that query

### **Actual Behavior**

Internal 400 error due to invalid query

### **Expected Behavior**

Query can be edited
