Opened 8 years ago
Closed 7 years ago
#13114 closed defect (worksforme)
Deleting and referencing attachments not working
Reported by: | Massimo | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | attachments |
Cc: | Trac Release: | 1.2 |
Description (last modified by )
An attachment of a topic is not possible to delete.
Then it is not possible to reference an attachment. Having an attachment .config.cfg
and a reference [attachment:.config.cfg]
, the hyperlink is broken.
Attachments (0)
Change History (4)
comment:1 Changed 8 years ago by
Description: | modified (diff) |
---|---|
Keywords: | attachments added; attachements removed |
comment:2 follow-up: 3 Changed 8 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:3 Changed 7 years ago by
Replying to Ryan J Ollos:
User with
DISCUSSION_ATTACH
should be able to delete attachments: discussionplugin/1.2/tracdiscussion/api.py@16503:184-185#L180.
Confirmed that user with DISCUSSION_ATTACH
can add and delete attachments in Trac 1.2.
comment:4 Changed 7 years ago by
Resolution: | → worksforme |
---|---|
Status: | accepted → closed |
Replying to Massimo:
Then it is not possible to reference an attachment. Having an attachment
.config.cfg
and a reference[attachment:.config.cfg]
, the hyperlink is broken.
It appears the realm and topic must be specified, or use topic-attachment
and just specify the id
. See examples: DiscussionPlugin#Attachments.
It would be nice if attachment TracLinks works better, but the plugin has no maintainer and I can only work on critical fixes.
User with
DISCUSSION_ATTACH
should be able to delete attachments: discussionplugin/1.2/tracdiscussion/api.py@16503:184-185#L180.If that's not the case, I'll have to take a closer look.
The plugin could use some testing following r16492 and r16503. Please let me know if you are able to test and provide any feedback. I'll try to look at this issue within a few weeks.