# Bug OP-17493 - Adding an image to an existing comment on Activity causes editing to crash

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Comments and activity |
| Target versions | 16.2.0 |
| Observed in versions |  |
| Sprint | 16.2.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 | Ivana Šugić |
| Accountable |  |
| Product manager |  |
| Developers | Kabiru Mwenja |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Start editing an existing comment (&quot;Edit this comment&quot;)
    
2.  Add an image via the upload button or by pasting from clipboard
    
3.  Wait a few seconds
    

### What is the buggy behavior?

_Please describe the bug in as much detail as possible. Example:_

*   The image disappears
    
*   Editing is aborted, leaving the comment unchanged
    

### What is the expected behavior?

The inserted image should remain as part of the comment

###   

###   

### Environment information

_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_

**OpenProject installation type**

*   Packaged installation
    

**OpenProject version**

16.0.1

**Browser**

*   [ ] Chrome
*   [x] Firefox 128.11.0esr (64-Bit)
*   [ ] Safari
*   [ ] Mobile Safari
*   [x] Vivaldi 7.4.3684.50 (Stable channel) stable (64-Bit)&nbsp;

**Operating System**

*   [ ] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [x] Linux Ubuntu 22.04.5 LTS
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

Browser: de  
OP user: de

<br>
