#5833 closed defect (worksforme)
Image Macro Failure - Image Name with Spaces Attached to External Wiki
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.10.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I'm using the following syntax on a wiki page to display an image attached to a different wiki page as suggested in TracLinks:
[[Image(wiki:SomeOtherWikiPage:An Image With Spaces in its Name.png)]]
This gives me the following error:
Error: Macro Image(wiki:SomeOtherWikiPage:An Image With Spaces in its Name.png) failed
Attachment SomeOtherWikiPage: An Image With Spaces in its Name.png does not exist.
I've tried surrounding the name in both single and double quotes with the same error message. If I substitute an image that does not have spaces in the name, then it works.
#4388 may be related. I couldn't find an exact match for this issue.
This is working fine for 0.11b1+ with no quoting at all. Too many things have changed with the image macro and attachments since 0.10, so it is very (very) unlikely that someone will put effort into making it work correctly on the 0.10 branch.
Solution: Upgrade. Closing as 'worksforme'.