#3711 closed defect (fixed)
Error: Macro Image(cruntimerror.JPG) failed
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | wiki system | Version: | 0.10b1 |
Severity: | normal | Keywords: | macros formatting context |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I attached a image file and used Macro Image(image.jpg0 when create a ticket. It's fine when i review a ticket. but I met the error when i reported the ticket as Show full description under each result.
Error: Macro Image(cruntimerror.JPG) failed Cannot reference local attachment from here
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
Component: | report system → wiki |
---|---|
Keywords: | macros formatting added |
Milestone: | 0.10 → 0.11 |
Owner: | changed from | to
follow-up: 3 comment:2 by , 18 years ago
Does this only happen if referenced in the ticket description? It works fine in comments. See #2647 for an example.
comment:3 by , 18 years ago
Replying to sid:
Does this only happen if referenced in the ticket description? It works fine in comments.
No, this issue is about having the link messed up in TracQuery, when Show full description option is checked.
There, the wiki_to_html
transform has now way to specify what the "base" resource is and the workaround consisting of looking at the path_info can't work there.
comment:4 by , 18 years ago
Status: | new → assigned |
---|
comment:6 by , 18 years ago
Keywords: | context added |
---|
An example of why we need to know about the resource which can be used as the context, in the Formatter, see source:trunk/trac/wiki/macros.py@3728#L320.
This will be addressed in 0.11, as it requires to refactor the mimeview and wiki components.