# Bug OP-18552 - Error 500 on Form configuration page after adding a new CF

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration |
| Target versions | 17.0.2 |
| Observed in versions | 17.2.0 |
| Sprint | 17.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.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 | Attila Dombi |
| 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 go to admin/work packages/types

2.  Open a type

3.  Go to Form configuration

4.  Drag and drop a field (I've noticed it happen for newly created custom fields but I don't know if it's a rule because this bug was not 100% reproducible for all the fields)

5.  Click Save

### What is the buggy behavior?

  - Error 500

  - [Appsignal](https://appsignal.com/openproject-gmbh/sites/673aff9f83eb6776b27e7743/exceptions/incidents/1196)

### What is the expected behavior?

Saving should work.

### 

### Notes

this happens for any edits made to the config form

### Environment information

**OpenProject version**

**Core build**

[3a9bd2a1bbab29381f4ee19570fed8c020db099f](https://github.com/opf/openproject/commits/3a9bd2a1bbab29381f4ee19570fed8c020db099f)

**Product version**

[69b5775f12970c9e6f175e6ddfbe946eeabbe7d3](https://github.com/opf/saas-openproject/commits/69b5775f12970c9e6f175e6ddfbe946eeabbe7d3)

**Core version**

OpenProject 17.0.0
