Actions
Defect #29038
closedThumbnail macro causes attachment file not found and broken filename and link
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Wiki's thumbnail macro seemed to break attachment's filename attribute when the attachment has non-blank description.
- case 1
On a wiki page attached an image file with description, and wrote twice thumbnail macros of the image file,
then second thumbnail macro can not show thumbnail image, but file not found error.
Sample error page is as follows:
- case 2
On an issue page attached an image file with description, and wrote one thumbnail macro for the image file, then attached file's filename and link is broken such that filename is shown as filename + description, and file link is same.
Sample page is as follows:
Case 1 is affected to wiki, issue , news, and forum.
Case 2 is affected to issue, forum.
Environment is
Environment: Redmine version 3.4.6.stable Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux-gnu] Rails version 4.2.8 Environment production Database adapter SQLite
- Redmine trunk has same behavior.
Files
Actions