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 #1

Updated by A Fora over 2 years ago

The issue is reported and resolved in #36887, however, it also impacts v5.0.0 which has not been reported.

Actions #2

Updated by Go MAEDA over 2 years ago

  • Status changed from New to Confirmed
Actions #3

Updated by Go MAEDA over 2 years ago

  • Related to Defect #36887: copyImageFromClipboard function failed to generate a unique file name added
Actions #4

Updated by Go MAEDA over 2 years ago

  • Related to deleted (Defect #36887: copyImageFromClipboard function failed to generate a unique file name)
Actions #5

Updated by Go MAEDA over 2 years ago

  • Is duplicate of Defect #36887: copyImageFromClipboard function failed to generate a unique file name added
Actions #6

Updated by Go MAEDA over 2 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Duplicate

A Fora wrote:

The issue is reported and resolved in #36887, however, it also impacts v5.0.0 which has not been reported.

It will be soon backported to 5.0-stable and 4.2-stable branches and released as 4.2.6 and 5.0.1.

Thank you for reporting the issue.

Actions #7

Updated by Marius BĂLTEANU over 2 years ago

I've merged the fix to stable branches, but I will keep #36887 open for a few days, I would like to try add a system test.

Thanks for reporting the issue.

Actions

Also available in: Atom PDF