# Bug SSI-243 - Unclear error when cf that was added as an attribute does not belong to wp configuration form

Project: Stream Storage Integrations
Status: closed
URL: https://community.openproject.org/work_packages/SSI-243

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.4.0 |
| Observed in versions | 15.3.0 |
| Bug found in version (deprecated) | 15.3.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Eric Schubert |
| Product manager |  |
| Developers |  |
| 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 admin
    
2.  Go to Administration/Work packages/Types
    
3.  Click on any type and go to Subject configuration
    
4.  Select automatically generated subjects and add a custom field attribute making sure you choose a CF that does not belong to the WP configuration form
    
5.  Save
    
6.  Create a work package of that type
    

### What is the buggy behavior?

*   Upon save, there will be an error message about the custom field that was selected as attribute but does not actually belong to the configuration form
    
    <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/320482/content">
    

### What is the expected behavior?

1.  Users should be able to understand where the error comes from and the message should be clear
    

### Environment information

**OpenProject version**

OpenProject 15.4.0

Core build

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

Product version

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