# Bug OP-18912 - User cannot create a WP with auto generated subject

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Work packages |
| Target versions | 17.4.0 |
| Observed in versions | 17.3.0 |
| Sprint |  |
| 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 | Jens Ulferts |
| 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 a user which WP creation permissions

2.  Go to a project where a WP type with auto generated subject is enabled

3.  Create a WP with auto generated subject

### What is the buggy behaviour?

  - User can't create the WP

  - 500 error

### What is the expected behaviour?

1.  User can create a WP with auto generated subject

### 

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[689e8fa8c86adece44d73b49e60bc36c1ad0f4cd](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommits%2F689e8fa8c86adece44d73b49e60bc36c1ad0f4cd)

Product version

[83768de97a9b536b5b2d7a0fe516e5442c46bf2e](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommits%2F83768de97a9b536b5b2d7a0fe516e5442c46bf2e)

Core version

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