# Bug SSI-262 - Updating a work package with generated subject fails, if project is missing custom field

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

## Open points

_No work packages_

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Eric Schubert |
| 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 wp type with generated subject.
    
2.  add a wp custom field to the pattern.
    
3.  Make sure, this custom field is NOT active in the project.
    
4.  Go to this project and open any wp of this type.
    
5.  Try to update it.
    

### What is the buggy behavior?

*   An error is raised
    

### What is the expected behavior?

1.  The subject should get updated and show `NA`
