Defect #37379
Thumbnail macro does not work when a file is attached and preview is displayed immediately
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Text formatting | |||
Target version: | 4.2.8 | |||
Resolution: | Fixed | Affected version: | 4.2.7 |
Description
Steps to reproduce:
- Open the wiki edit page.
- Upload an image file (e.g. imagefile.png) but do not save.
- Insert thumbnail macro.
e.g:{{thumbnail(imagefile.png)}}
- Show preview.
- Thumbnail is not displayed and error message is displayed, like this:
Error executing the thumbnail macro (Attachment imagefile.png not found)
(After saving the wiki, the thumbnail will be displayed without any problems.)
Associated revisions
Thumbnail macro does not work when a file is attached and preview is displayed immediately (#37379).
Patch by Mizuki ISHIKAWA.
Fix test failure (#37379).
History
#1
Updated by Go MAEDA about 1 month ago
- Category changed from Wiki to Text formatting
- Status changed from New to Confirmed
- Affected version changed from 5.0.2 to 4.2.7
#2
Updated by Mizuki ISHIKAWA about 1 month ago
- File fix-37379.patch
added
Attached is a patch to resolve the issue.
#3
Updated by Go MAEDA about 1 month ago
- Target version set to Candidate for next minor release