
Hello List, Anyone know how to identify the ticket number that is causing this error? OTRS-otrs.PendingJobs.pl-10[481]: [Error][Kernel::System::Ticket::TicketStateSet][Line:3944]: Need StateID or State! Would it not make sense to also print the ticket number in the error message? Thanks, -- Stephen Clark

Edit Kernel/System/Ticket.pm and change line 3944, update the message
returned, change from 'Need StateID or State!' to "Need StateID or
State! Ticket: $Param{TicketID}".
Steve
On 1 February 2013 12:02, Steve Clark
Hello List,
Anyone know how to identify the ticket number that is causing this error? OTRS-otrs.PendingJobs.pl-10[481]: [Error][Kernel::System::Ticket::TicketStateSet][Line:3944]: Need StateID or State!
Would it not make sense to also print the ticket number in the error message?
Thanks,
-- Stephen Clark
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Edit Kernel/System/Ticket.pm and change line 3944, update the message returned, change from 'Need StateID or State!' to "Need StateID or State! Ticket: $Param{TicketID}".
He does have a point, though. An good error message should give as much context as possible (answering the basic journalism questions: who, what, when, where, why). Not quite as bad as the all-purpose "Syntax error" from the BSD C compiler, but ... Call it a usability APAR.

Thanks. On 02/01/2013 07:34 AM, Steven Carr wrote:
Edit Kernel/System/Ticket.pm and change line 3944, update the message returned, change from 'Need StateID or State!' to "Need StateID or State! Ticket: $Param{TicketID}".
Steve
On 1 February 2013 12:02, Steve Clark
wrote: Hello List,
Anyone know how to identify the ticket number that is causing this error? OTRS-otrs.PendingJobs.pl-10[481]: [Error][Kernel::System::Ticket::TicketStateSet][Line:3944]: Need StateID or State!
Would it not make sense to also print the ticket number in the error message?
Thanks,
-- Stephen Clark
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
-- Stephen Clark *NetWolves* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.clark@netwolves.com http://www.netwolves.com
participants (3)
-
David Boyes
-
Steve Clark
-
Steven Carr