Vote #81895
完了Clipboard copy is broken after upgrade to 4.2.5 or 5.0.0 from 4.2.3
0%
説明
Problem description:¶
After the upgrade, clipboard pictures are pasted as
. In the previous versions they had a unique identifier e.g.
. 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:¶
- 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:


journals
The issue is reported and resolved in #36887, however, it also impacts v5.0.0 which has not been reported.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,36887,copyImageFromClipboard function failed to generate a unique file name