# Bug OP-15954 - Work package description disappears after changing a text field

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.0.0 |
| Observed in versions |  |
| Sprint | 15.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

<br>

  - Edit the title of an existing work package and *do not confirm with enter* but click into the description.

  - (Alternatively you can do the same with any other text field of the work package. We have a custom text field in the work package form, and changing it without confirming with enter also deletes the work package description.)

<br>

### What is the buggy behavior?

  - The work package description disappears.

### What is the expected behavior?

  - The changed title should be saved but the obviously the description of the work package should not disappear.

  - The subject should not close on clicking on another field. It should be submitted only on enter

### Environment information

  - OpenProject version v14.5.0 (community edition, self-hosted).

### Additional information

  - Thanks to the new *Keep and restore local versions of WYSIWYG content changes* feature I was able to restore the description.

  - This doesn't to be a new bug. My users reported the problem since version 13.2.1 and according to <mention class="mention" data-id="52641" data-type="work_package" data-text="#52641">\#52641</mention> we hoped to have it fixed with 13.3.1. But maybe there are/were more than 1 bug...
