Systemlog filled with "Need Querystring!"

Moderator: crythias

Post Reply
PhyrePhoX
Znuny advanced
Posts: 132
Joined: 05 Dec 2007, 10:56
Znuny Version: 5.0.24 (with ITSM Mo

Systemlog filled with "Need Querystring!"

Post by PhyrePhoX »

Hi, my systemlog shows this message repeatedly: "Need QueryString!"
Google does not seem to help here, how can i find out where this error comes from? Is it a userquery or a misconfigured view/template?

Thanks in advance,
PhoX
Screenshot from 2018-01-18 10-30-32.png
You do not have the required permissions to view the files attached to this post.
OTRS 5.0.24 (with ITSM Modules) and Znuny 6.4.4 in staging
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Systemlog filled with "Need Querystring!"

Post by fcasal »

Check the apache logs for more information
PhyrePhoX
Znuny advanced
Posts: 132
Joined: 05 Dec 2007, 10:56
Znuny Version: 5.0.24 (with ITSM Mo

Re: Systemlog filled with "Need Querystring!"

Post by PhyrePhoX »

thank you, i will try that :)
OTRS 5.0.24 (with ITSM Modules) and Znuny 6.4.4 in staging
PhyrePhoX
Znuny advanced
Posts: 132
Joined: 05 Dec 2007, 10:56
Znuny Version: 5.0.24 (with ITSM Mo

Re: Systemlog filled with "Need Querystring!"

Post by PhyrePhoX »

Now i found through apache logs & "reverse engineering", that this error is produced when i am in the "change customer" dialog, when i enter a string that does not match a customer (from one of my several backends). There is no error message in the gui/webfrontend, such as "didnt find the customer you were looking for", instead i am getting the "Need Querystring!" in the errorlogs.

Can this be prevented somehow? It is spamming my error log, and to me (personally), it is not really an error?
Is there a config option somewhere?


Apache Log Entry:
ERROR: OTRS-CGI-12 Perl: 5.24.1 OS: linux Time: Thu Mar 29 13:25:49 2018

Message: Need QueryString!

RemoteAddress: 192.168.XY.XY
RequestURI: /otrs/index.pl?Action=AgentTicketCustomer;TicketID=123

Traceback (15991):
Module: Kernel::System::DB::QueryStringEscape Line: 1593
Module: Kernel::Output::HTML::CustomerUser::GenericTicket::Run Line: 150
Module: Kernel::Output::HTML::Layout::Ticket::AgentCustomerViewTable Line: 308
Module: Kernel::Modules::AgentTicketCustomer::Form Line: 272
Module: Kernel::Modules::AgentTicketCustomer::Run Line: 230
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1055
Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 12
Module: ModPerl::RegistryCooker::run (v1.99) Line: 12
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

[Thu Mar 29 13:25:49 2018] -e: Use of uninitialized value in concatenation (.) or string at /usr/share/otrs//Kernel/Output/HTML/CustomerUser/GenericTicket.pm line 153.
[Thu Mar 29 13:25:49 2018] -e: Use of uninitialized value in concatenation (.) or string at /usr/share/otrs//Kernel/Output/HTML/CustomerUser/GenericTicket.pm line 135.
[Thu Mar 29 13:25:49 2018] -e: Use of uninitialized value in concatenation (.) or string at /usr/share/otrs//Kernel/Output/HTML/CustomerUser/GenericTicket.pm line 135.
ERROR: OTRS-CGI-12 Perl: 5.24.1 OS: linux Time: Thu Mar 29 13:25:49 2018
OTRS 5.0.24 (with ITSM Modules) and Znuny 6.4.4 in staging
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Systemlog filled with "Need Querystring!"

Post by reneeb »

Which OTRS version?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
PhyrePhoX
Znuny advanced
Posts: 132
Joined: 05 Dec 2007, 10:56
Znuny Version: 5.0.24 (with ITSM Mo

Re: Systemlog filled with "Need Querystring!"

Post by PhyrePhoX »

5.0.24
OTRS 5.0.24 (with ITSM Modules) and Znuny 6.4.4 in staging
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Systemlog filled with "Need Querystring!"

Post by fcasal »

Have you personalizated the GenericTicket.pm file? If not, you can update your installation to the last patch level, the 27.
PhyrePhoX
Znuny advanced
Posts: 132
Joined: 05 Dec 2007, 10:56
Znuny Version: 5.0.24 (with ITSM Mo

Re: Systemlog filled with "Need Querystring!"

Post by PhyrePhoX »

i checked the changelog, didnt find a change that would reflect in stopping the "spam" in the log. Can you point me in the right direction? Since we have a tight update policy, i would like to manually patch the file, instead of updating. Thank you :)
OTRS 5.0.24 (with ITSM Modules) and Znuny 6.4.4 in staging
Post Reply