[rt-users] custom callback for ticket update not working after update 4.0.2 -> 4.2.2
Hugo Escobar
hescobar at afslc.com
Tue Feb 4 16:02:05 EST 2014
I developed a callback that allowed staff users to quickly respond certain
requests from customers
just by pressing a button on ticket-display instead of having to go to
/Ticket/Update.html, writing, attaching the file, etc
This worked perfectly on 4.0.2. In 4.2.2, the response is being created but
the file(s) is(are) not being attached.
The callback I used for this customization is called in the following line:
$m->callback( Ticket => $TicketObj, ARGSRef => \%ARGS, checks_failure =>
\$checks_failure, results => \@results, CallbackName => 'Initial' );
which exists at the beginning of the <%INIT> section
My implementation of this callback creates a MIME::Entity and adds the file
to it, then it
'writes' the whole message to $session{'Attachments'}
I've been trying to do the right changes for this to work under 4.2.2 but
no luck so far
Any help will be greatly appreciated
--
Hugo Escobar
[image: AFS_logo.png]
Follow us on Facebook and Linked-In
[image: facebook-24x24.png]<http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864>
[image: linkedin-24x24.png] <http://www.linkedin.com/companies/1006276>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140204/a07ca60f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook-24x24.png
Type: image/png
Size: 814 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140204/a07ca60f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin-24x24.png
Type: image/png
Size: 875 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140204/a07ca60f/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AFS_logo.png
Type: image/png
Size: 3183 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140204/a07ca60f/attachment-0002.png>
More information about the rt-users
mailing list