Modify

Opened 4 years ago

Last modified 22 months ago

#10383 new defect

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

Reported by: rjlyders Owned by: jun66j5
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 (2)

comment:1 Changed 4 years ago by jun66j5

  • Severity changed from blocker to normal

comment:2 Changed 22 months 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:

Add Comment

Modify Ticket

Action
as new The owner will remain jun66j5.
Author


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

 
Note: See TracTickets for help on using tickets.