Defect #36911
closedClipboard copy is broken after upgrade to 4.2.5 or 5.0.0 from 4.2.3
0%
Description
- 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.
- 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
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.
Updated by Go MAEDA over 2 years ago
- Related to Defect #36887: copyImageFromClipboard function failed to generate a unique file name added
Updated by Go MAEDA over 2 years ago
- Related to deleted (Defect #36887: copyImageFromClipboard function failed to generate a unique file name)
Updated by Go MAEDA over 2 years ago
- Is duplicate of Defect #36887: copyImageFromClipboard function failed to generate a unique file name added
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.
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.