RT::Extension::AttachmentWarning - Warn if the attachments in the session aren't what the user expects
Browsing to other tickets or starting other replies/comments while in the middle of another reply with already uploaded attachments can lead to surprising results due to how attachments are handled in the user's session.
This extension catches when these unexpected leaks of attachments in and out of the reply/comment happen and prevents the ticket update with a warning to the user. While not solving the problem, it at least prevents replies going out with no attachments, or worse, the wrong, completely unrelated, attachments.
The underlying problem will be solved in RT 4.2, making this extension unnecessary.
May need root permissions
Add this line:
Set(@Plugins, qw(RT::Extension::AttachmentWarning));
or add RT::Extension::AttachmentWarning to your existing @Plugins line.
RT::Extension::AttachmentWarning
@Plugins
This extension performs sanity checking on attachments, so it needs to be in the @Plugins list before any other extensions which massage the session attachments. If it's placed after any such extensions, you'll see false positive warnings.
rm -rf /opt/rt4/var/mason_data/obj
sunnavy, <sunnavy at bestpractical.com>
Thomas Sibley, <trs@bestpractical.com>
This software is Copyright (c) 2012 by Best Practical Solutions
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install RT::Extension::AttachmentWarning, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::AttachmentWarning
CPAN shell
perl -MCPAN -e shell install RT::Extension::AttachmentWarning
For more information on module installation, please visit the detailed CPAN module installation guide.