Project

General

Profile

Actions

Defect #36911

closed

Clipboard copy is broken after upgrade to 4.2.5 or 5.0.0 from 4.2.3

Added by A Fora over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

  1. Problem description:

After the upgrade, clipboard pictures are pasted as ![](image.png). In the previous versions they had a unique identifier e.g. ![](clipboard-202203271559-wc8kd.png). Hence if the page/issue has more than one image, they will all appear as the last image pasted to it.

At the same time, all copies of images are attached to the page/issue as seen at the bottom of the page under >Files (2) section.

  1. To replicate the issue:

1. Start with a working v.4.2.3 instance of redmine/database
- migrate to either v.4.2.5 or v.5.0.0
- open an existing wiki page or an existing issue
- paste 2 different images saved in the clipboard one after another
- you will get the following two lines:

![](image.png)
![](image.png)

Related issues

Is duplicate of Redmine - Defect #36887: copyImageFromClipboard function failed to generate a unique file nameClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF