Attachment not found, Macro not evaluated
|Reported by:||Owned by:||Martin Scharrer|
when I put this in my custom field of the ticket (which accepts Wiki-formatting, e.g. [raw-attachment:file.pdf] works without problems] I get the result displayed as [[AttachmentNum(...)]. When I put it in the description field I get a "Attachment not found" error, although there is an attachment. When I let it display the type and ID used in the SQL query the type is ticket, which seems ok, but the ID is "Ticket #8", which is probably not ok, most likely this should be just "8"?
Sorry, I would fix this myself, but I have no clue about python neither about the necessary functions in trac (get_resource_id maybe?)
Thanks and best, ALEXander.
Change History (11)
comment:2 Changed 8 years ago by
|Owner:||changed from Martin Scharrer to anonymous|
|Status:||new → assigned|
comment:3 Changed 8 years ago by
|Owner:||changed from anonymous to Martin Scharrer|
|Status:||assigned → new|