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

Mark Jenks mark.jenks at iodincorporated.com
Wed Aug 18 10:29:34 EDT 2010


Do you have a "Return 1;" in the Condition and/or Prep code?

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of John
Beranek
Sent: Wednesday, August 18, 2010 9:23 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Scrip failure following 3.8.1 -> 3.8.8 upgrade

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.

The scrip reads:

Description: Open on take
Condition:   User defined
Action:      Open Tickets
Template:    Global template: Blank
Stage:       TransactionCreate

Custom Condition:
if ($self->TicketObj->Status eq 'new' && $self->TransactionObj->Type eq
'Take')
{
  return 1;
}
else
{
  return undef;
}


So, a fairly simple Scrip to 'Open' a ticket when it's taken by someone.
However, since the upgrade to 3.8.8 it has stopped working.

Any idea what could be causing it? I don't see anything applicable in RT
or Apache logs...

Cheers,

John.

[Apologies for the horrible disclaimer, it's out of my hands]

-- 
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

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

CONFIDENTIALITY NOTICE:  The information contained in this email message, including any attachments, may be 
privileged, confidential and otherwise protected from disclosure.  If the reader of this message is not the 
intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this 
message, including any attachments, is strictly prohibited.  If you have received this email message in 
error, please notify the sender by reply email and delete/destroy the email message, including attachments, 
and any copies thereof.  Although we have taken precautions to minimize the risk of transmitting viruses via 
email and attachments thereto, we do not guarantee that either is virus-free, and we accept no liability for 
any damages sustained as a result of any such viruses.



More information about the rt-users mailing list