# Bug SSI-355 - CFs that were added to an auto subject and are now inactive do not show the CF name

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Work packages |
| Target versions | 16.4.0 |
| Observed in versions | 16.2.0 |
| Bug found in version (deprecated) | 16.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| 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.  Go to Administration &gt; Work packages &gt; Types
    
3.  Open any type
    
4.  Go to the Subject configuration tab
    
5.  Create a pattern using any custom field you like and save it
    
6.  Go to the Form configuration tab
    
7.  Remove one of the custom fields you used in the pattern from the form and save
    
8.  Go back to the Subject configuration tab
    

### What is the buggy behaviour?

*   Inactive custom field is displayed by its ID and not its name
    

### What is the expected behaviour?

1.  Inactive custom field is displayed by name
    

###   

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

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

Product version

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

Core version

OpenProject 16.2.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)
