Modify ↓
#7978 closed defect (fixed)
[patch] attachment stream is not closed when listeners are notified
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | attachment | Version: | 0.11-stable |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
IAttachmentChangeListener notifies plugins about added file with opened file description. It would not be a problem for a plugin to reopen closed file when it needs to analyze file contents (index or make virus checks), but it is a problem to close existing file.
Fix attached.
References:
http://trac-hacks.org/wiki/SearchAttachmentsPlugin
http://groups.google.com/group/trac-dev/browse_thread/thread/bf5b64a37f7ddffd/1963e1b3232cfe64
Attachments (2)
Change History (6)
by , 17 years ago
| Attachment: | attachment.py-trunk-fix.diff added |
|---|
comment:1 by , 17 years ago
| Milestone: | → 0.11.3 |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
Ok, this seems to be a harmless change.
comment:2 by , 17 years ago
| Milestone: | 0.11.4 → 0.11.3 |
|---|
comment:3 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Patch applied in r7821, thanks!
comment:4 by , 17 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.



fix for trunk