# Bug OP-19063 - Error when changing wp type from the wp list

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Work packages, Administration / Custom fields |
| Target versions | 17.3.1 |
| Observed in versions | 17.3.0 |
| Sprint | 17.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.3.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 | Oliver Günther |
| 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 to QA Edge
    
2.  Go to a project where you have several types available (for instance tasks, features etc.)
    
3.  On the wp list, click on the type of one of the work packages (for example task or milestone)
    
4.  Try to change it to feature (that was my case) or any other type that has mandatory custom fields
    

### What is the buggy behavior?

*   Briefly there is a message that cf cannot be blank but then it changes to another error
    

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

This is the error from the console:

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

### What is the expected behavior?

1.  It should be possible to fill in the blank custom fields on the wp list and an appropriate error should show in that case, not this one&nbsp;
    

###   

### Environment information

**OpenProject version**

**Core build**

[9243acb04014be9bf96d17d96032b0a2480fed8a](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2F9243acb04014be9bf96d17d96032b0a2480fed8a)

**Product version**

[ba2a367e1c149400b6470882a03f621b5e1491e2](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2Fba2a367e1c149400b6470882a03f621b5e1491e2)

**Core version**

OpenProject 17.3.0

**Browser**

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

**Operating System**

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