[rt-users] Scrip failure following 3.8.1 -> 3.8.8 upgrade

John Beranek john.beranek at pace.com
Wed Aug 18 11:50:41 EDT 2010


On 18/08/10 15:58, John Beranek wrote:
> On 18/08/10 15:37, Kevin Falcone wrote:
>> On Wed, Aug 18, 2010 at 03:23:28PM +0100, John Beranek wrote:
>>> We've just upgraded our RT installation from 3.8.1 to 3.8.8 and it
>>> mostly went very seamlessly.
>>>
>>> However, since making the new version live I've noticed that one of our
>>> global Scrips has stopped working.
>>
>> What happens when you use $RT::Logger->warn to track the Type and
>> Status?  My guess is that the Type is not what you expect.
> 
> Hmm, that doesn't show anything as such (after I get the logging syntax
> right)...but I know can see that an error in the log does appear to be
> associated with this Scrip:
> 
> [Wed Aug 18 14:55:25 2010] [warning]: *** Type: Take Status: new ((eval
> 5574):1)
> [Wed Aug 18 14:55:25 2010] [error]: Template parsing error: Can't call
> method "SubValue" on an undefined value at template line 9.

OK this second error is actually a red herring, caused by another Scrip
I had created to investigate this problem.

What _does_ fix it is to change the Action to 'User Defined' with the code:

$self->TicketObj->Open();

So, the problem seems to be with the "Open Tickets" action...

John.

-- 
John Beranek, Senior Software Engineer, Engineering Tools Group
Pace plc.                                Tel: +44 1274 538356
Victoria Road, Saltaire, Shipley         Fax: +44 1274 538056
West Yorkshire, BD18 3LF, UK.            Web: http://www.pace.com/
[Pace plc is registered in England and Wales #1672847]

This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message. You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender. Pace plc is registered in England and Wales (Company no. 1672847) and our Registered Office is at Victoria Road, Saltaire, West Yorkshire, BD18 3LF, UK. Tel +44 (0) 1274 532000 Fax +44 (0) 1274 532010. <http://www.pace.com>
Save where otherwise agreed in writing between you and Pace (i) all orders for goods and/or services placed by you are made pursuant to Pace's standard terms and conditions of sale which may have been provided to you, or in any event are available at http://www.pace.com/uktcsale.pdf (ii) all orders for goods and/or services placed by Pace are subject to Pace's standard terms and conditions of purchase which may have been provided to you, or in any event are available at http://www.pace.com/uktcpurch.pdf. All other inconsistent terms in any other documentation including without limitation any purchase order, reschedule instruction, order acknowledgement, delivery note or invoice are hereby excluded.



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



More information about the rt-users mailing list