# Bug OP-16134 - [Work-Package] Move work-package with an invalid user in a custom field

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Custom fields, Modules and project features / Work packages |
| Target versions | 16.6.0 |
| Observed in versions | 15.0.0 |
| Sprint | 16.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.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 | OP Dev Polaris Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  create a work-package custom user field and add it to a type
    
2.  create a work-package with that type
    
3.  set a user to that custom field
    
4.  deactivate that user (lock permamently)
    
5.  try to move that work-package into another project
    

### What is the buggy behavior?

*   Moving a collection of work-packages fails with an error that this specific work-package cannot be moved because &quot;invalid user&quot;
    
*   Moving a collection of work-package works, when that user is set in Assignee/Responsible
    

### What is the expected behavior?

1.  no error; moving should be possible for custom fields the same as it works with Assignee/Responsible field
