# Feature OP-10370 - Pasting Images to a Wiki Page from other Wiki Pages should generate a new image upload

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-10370

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: Cloud Edition 12.0.1

Operating System / Browser / OpenProject language:

Firefox / Ubuntu / English

###   

### **Steps to reproduce:**

1.  Open Wiki and Edit a Page (Page1)
2.  Add some text add an image into the text
3.  Save that Page as Page1
4.  Open Wiki and Edit it a new Page (Page2)
5.  Copy the Page1 with CTRL+C to Page2 with Pasting it via CTRL+V
6.  Save that Page as Page2
7.  The Wiki Page2 contains the image reference and displays the image. There is no attachment image.jpg even if it is shown in the attachments it is only a reference
8.  The Wiki Page1 contains the same image (original) but also the attachment image.jpg

### **Actual Behavior**

Page1 is the only page to contain an image.jpg as attachment

Page2 does NOT contain an image.jpg as an attachment, but it is the attachment from Page1 that is only referenced with a link

If we delete the Original Page1, then the images on Page2 will not be displayed because their referencing origin is deleted 

a Paste with CTRL+V does only generate a reference to the Original Page 

### **Expected Behavior**

Page1 is the only page to contain an image.jpg as attachment

Page2 contains a copy of image.jpg as an attachment and it is the attachment of Page2 that is not linked to Page1 at all.

If we delete the Original Page1, then the images on Page2 will still be displayed although the original image1 was deleted.

In My Experience from other Wikis usually a CTRL+V generates a NEW attachment and NOT a reference
