# Bug COMMS-454 - Error when creating a new work package after uploading an attachment to the previous one that was opened in details view

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-454

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Work packages, Modules and project features / Attachments, Modules and project features / Comments and activity |
| Target versions | 18.0.0 |
| Observed in versions | 16.4.0 |
| Sprint |  |
| Backlog bucket | Bugs |
| Bug found in version (deprecated) | 16.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Tom Hykel |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

1.  Create a task, save it, without closing the task, go to the activity tab and add an image, save it
    

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

2)Next, create another task using the &quot;+create&quot; button - save and add the image to the activity tab

<img class="image_resized op-uc-image op-uc-image_inline" style="width:355px;" src="/api/v3/attachments/789389/content">

<br>

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

**Actual behaviour:**

It seems that there is a mix between the previous work package and the new one. We enter a new title and want to save but the attachment from the previous one is copied here and there is an error message saying Attachments cannot be changed.

**Expected behaviour:**

We should be either able to create a new work package or be presented with another workflow that prevents this kind of error.
