# Bug OP-14981 - Contents being lost and updated to 'undefined' in wikis, documents and work packages

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 14.5.0 |
| Observed in versions |  |
| Sprint | 14.5.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 | Oliver Günther |
| 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

*   this is unclear, but it looks people are working on documents and saving them, not realising that they are not actually saved
    

### What is the buggy behavior?

*   contents are not actually saved and instead the literal `undefined` is stored, e.g. for wiki pages, document contents or work package descriptions
    
*   presumably it still looks as if the content has been saved, however
    

### What is the expected behavior?

*   that should not happen
    

### **Logs**

```text
irb(main):011> wiki.journals.map(&:data)
=>
[#<Journal::WikiPageJournal:0x00007ff876f426a0 id: 3296, author_id: 104, text: "">,
 #<Journal::WikiPageJournal:0x00007ff875851900 id: 3298, author_id: 104, text: "">,
 #<Journal::WikiPageJournal:0x00007ff875851680 id: 3301, author_id: 104, text: "undefined">]
```

### Environment information

**OpenProject installation type**

*   [x] Hosted cloud edition
*   [ ] Packaged installation
    *   What distribution?
        
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

_v14.0.0_

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)&nbsp;

```text
OS and version Windows: 10 Pro  Version 22H2
Browser and version: FireFox Version 125.0.3 (64-Bit)
Browser extensions: Kee – Password Manager & uBlock Origin
```
