# Bug OP-1275 - Journal not created in connection with deleted note

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 3.0.3 |
| Observed in versions |  |
| Sprint |  |
| 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

Reproduce:

  - New Work Package, enter Subject, Submit
  - Update, enter Note, Submit
  - Update, enter Description, Submit
  - Edit first note, remove all contents, Save (note should disappear now)
  - Update, change Description, Submit

Expected: History shows description change  
Result: History doesn’t list last change at all, no entry is created in the journal table. The only thing indicating the update is the “Updated …” below the work package title.

I first saw this bug in <mention class="mention" data-id="6310" data-type="work_package" data-text="##6310">##6310</mention> where no further updates are shown in the journal after I deleted note number 2 (after journal entry 3 was already created).  
See [this gist for entries in the journals table](https://gist.github.com/meeee/6615987261d6a082ff9d).
