# Bug OP-17390 - Rendering and Server Error when managing a Custom Action with a multi-select user custom field.

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Administration / Custom actions |
| Target versions | 16.1.1 |
| Observed in versions | 16.0.0 |
| Sprint | 16.1.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.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 | Marcello Rocha Pereira |
| Product manager |  |
| Developers | Marcello Rocha Pereira |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

When defining or editing a custom action with a multi-select user field, we are presented with 2 issues that are also related:

1.  The **assign to executing user** placeholder is never rendered, even if set.

2.  Impossible to assign to more than **one user**

3.  If attributed to a specific user, when saving we are greeted by a server error (500)

The expected behaviour is:

1.  Being able to assign multiple users to the action

2.  The user names, or the executing user placeholder, being rendered in the field.

<br>

#### **Reproduction Steps**

1.  Have a custom field of type **User** with *Allow multi-select* enabled

2.  Create a Custom Action and add an action for the custom field above

3.  Save the action

4.  Go to edit the action and note that the Assign to executing user text won't be rendered

5.  Try to assign any specific user

6.  Save the action

7.  Appreciate the error message

Steps 3 and 4 can be omitted, but this was the rundown when the bug was detected

#### **OpenProject version**

*Detected on 16.0, introduced around 15.4*
