Error "Need QueueID, TicketID!"

Moderator: crythias

Post Reply
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Error "Need QueueID, TicketID!"

Post by RodrigoPetter »

After update to OTRS 5, when I create a ticket from the customer interface the following logs apears in the system log:
erro_customer.jpg
In the Apache log i found this:

Code: Select all

ERROR: OTRS-CGI-00 Perl: 5.20.2 OS: linux Time: Fri Mar 11 14:39:59 2016

 Message: Need QueueID, TicketID!

 RemoteAddress: 10.244.170.44
 RequestURI: /otrs/customer.pl

 Traceback (8579): 
   Module: Kernel::System::Ticket::TicketStateList Line: 4259
   Module: Kernel::System::Ticket::StateList Line: 7296
   Module: Kernel::System::Ticket::TicketEscalationIndexBuild (v1.39.2.3) Line: 478
   Module: Kernel::System::Ticket::Event::TicketEscalationIndex::Run Line: 52
   Module: Kernel::System::EventHandler::EventHandler Line: 225
   Module: Kernel::System::Ticket::Article::ArticleCreate Line: 396
   Module: Kernel::System::Ticket::Article::ArticleSend Line: 2241
   Module: Kernel::System::Ticket::Event::NotificationEvent::Transport::Email::SendNotification Line: 238
   Module: Kernel::System::Ticket::Event::NotificationEvent::_SendRecipientNotification Line: 973
   Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 290
   Module: Kernel::System::EventHandler::EventHandler Line: 225
   Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 267
   Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 368
   Module: Kernel::System::ObjectManager::DESTROY Line: 549
   Module: (eval) (v1.99) Line: 207
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_customer_2epl::handler (v1.99) Line: 207
   Module: (eval) (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
   Module: ModPerl::Registry::handler (v1.99) Line: 32
Some one know why this is happening? The code from Tciket.pm in the sub "TicketStateList" doesn't make any sense to me, but the log come from:

Code: Select all

# check needed stuff
 4258     if ( !$Param{QueueID} && !$Param{TicketID} ) {
 4259         $Kernel::OM->Get('Kernel::System::Log')->Log(
 4260             Priority => 'error',
 4261             Message  => 'Need QueueID, TicketID!'
 4262         );
 4263         return;
 4264     }
You do not have the required permissions to view the files attached to this post.
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Re: Error "Need QueueID, TicketID!"

Post by RodrigoPetter »

Someone have any idea of what is happening?
RodrigoPetter
Znuny newbie
Posts: 51
Joined: 10 Aug 2015, 20:02
Znuny Version: 5.0.0

Re: Error "Need QueueID, TicketID!"

Post by RodrigoPetter »

Why it checks inside the "TicketStateList" for 'QueueID' and 'TicketID' if it doesn't use this itens?

I removed this verification and no other error appeared.
I looked old versions and the code is the same since the version 2.4. Don't know if it is a bug or if i'm going crazy.
Post Reply