Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
14.3
-
Unit
-
Unknown
-
N/A
-
N/A
-
Pull Request accepted
-
Description
Reproduction steps:
- use either the new or old image dialog
- make the wiki multi-lingual
- add a new supported language (e.g., fr)
- make the new language the default language
- Create a new page, upload an image named image.png (other filenames works) and insert it using the image dialog
- Save the page
Expected
The attachment name is substituted to the following pattern "${datetool.date.time}-${mathtool.random(100, 1000)}.$extension"
It used to be the case before switching to the temporary upload mechanism, where this logic is currently missing.
Actual results:
The page contains an attachment named {}fileCreatedFromDataURI{}.png
Additional note:
Copy-and-pasted images on windows are always named image.png, leading to the behavior described above for all pasted images.
Attachments
Issue Links
- is caused by
-
CKEDITOR-434 Allow to upload attachment using temporary upload endpoint
- Closed
- is duplicated by
-
XWIKI-20769 CKeditor always saves one picture that was be pasted during editing
- Closed
- is related to
-
CKEDITOR-169 Image upload by copy & paste overwrites previous ones
- Closed
-
CKEDITOR-505 Uploading image.png using image dialog creates badly named attachments
- Closed