Attachment not found, Macro not evaluated
|Reported by:||alexander@…||Owned by:||martin_s|
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 6 years ago by anonymous
- Owner changed from martin_s to anonymous
- Status changed from new to assigned
comment:3 Changed 6 years ago by martin_s
- Owner changed from anonymous to martin_s
- Status changed from assigned to new
comment:7 Changed 6 years ago by alexander@…
- Resolution set to fixed
- Status changed from assigned to closed