Modify

Opened 12 years ago

Closed 8 years ago

#10383 closed defect (fixed)

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

Reported by: Richard Lyders Owned by: Jun Omae
Priority: high Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release: 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. :-(

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Jun Omae

Severity: blockernormal

comment:2 Changed 10 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 8 years ago by Jun Omae

Resolution: fixed
Status: newclosed

In 16332:

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.