# Bug OP-17914 - User sees 500 when creating or editing a custom action when scored list custom field exists

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Custom actions, Administration / Custom fields |
| Target versions | 16.5.0 |
| Observed in versions | 16.5.0 |
| Sprint | 16.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.5.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 | Eric Schubert |
| 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 as an admin
    
2.  Have at least one custom field of type scored list
    
3.  Go to Administration &gt; Work packages &gt; Custom actions
    
4.  Click on + Custom Action or edit an existing one
    

### What is the buggy behaviour?

*   500 error
    

### What is the expected behaviour?

1.  User can edit or create a custom action
    

###   

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

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

Product version

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

Core version

OpenProject 16.5.0

**Browser**

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

**Operating System**

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