Opened 5 years ago

Closed 3 months ago

# Features dissappeared: "Description of the file" and "Replace existing attachment of the same name"

Reported by: Owned by: Richard Lyders Jun Omae high TracDragDropPlugin normal 0.12

### Description

This could be considered an enhancement, but since existing features dissappeared by installing the "Drag-and-Drop Attachments Plugin for Trac", I consider this a defect.

I loved this plug-in...for the brief period of time I was able to use it before I was told to disable it because it removed existing features that everyone uses here. The abilities to enter a description and control whether or not a new attachment replaces an existing attachment of the same name are very useful features for us.

I checked for a configuration or documentation regarding this and I haven't seen anything so far. I guess I am surprised that I don't see anything about the absence of these features. If I have time I may work on adding these features myself, but not sure when I might have time for this.

Great pug-in. I just wish I could use it. :-(

### comment:1 Changed 5 years ago by Jun Omae

Severity: blocker → normal

### comment:2 Changed 2 years ago by fschricker@…

This bit me as well. I got feedback that through updated web_ui.py one can at least have it always replace attachments as they are uploaded:

===================================================================
--- tracdragdrop/web_ui.py      (revision 14428)
+++ tracdragdrop/web_ui.py      (working copy)
@@ -227,6 +227,7 @@
attachments = [attachments]

mod = AttachmentModule(self.env)
+        req.args['replace'] = 'on'
for val in attachments:
req.args['attachment'] = val
try:


### comment:3 Changed 3 months ago by Jun Omae

Resolution: → fixed new → closed

In 16332:

tracdragdrop: add description and replace inputs to the form, and replacing files by drop+shift (closes #10383)

### Modify Ticket

Change Properties