Hello Christian, > I think that since Attachment.insert() expects a filename parameter, it > should also take care of resetting its .filename member to None at the > beginning, so that .path keeps returning the path to the parent folder, as > expected by the rest of its code.
Ok, seems to work. BTW the need for the notification feature when a document is attached/removed to/from a ticket as increased here lately, so I've implemented it for Trac 0.12-stable. :P Do you want me to attach the patch to #2259 ? I'm gonna deploy it on our production server. Cheers, Manu -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.