I went through the manual of the latest version of the FAQ module. It refers to a script named "otrs.UnitTest.pl" to check the functions of the modules. So I executed the command
Code: Select all
./otrs.UnitTest.pl -n FAQ:FAQSearch:GenericInterface/FAQConnector
and got plenty of errors that I don't understand.
For example:
ERROR: OTRS-otrs.UnitTest-10 Perl: 5.16.3 OS: linux Time: Mon Dec 7 11:35:11 2015
Message: No Priority for 3 normal found!
Traceback (11958):
Module: Kernel::System::Priority::PriorityLookup Line: 352
Module: Kernel::System::Ticket::TicketCreate Line: 388
Module: Kernel::System::FAQ::_FAQApprovalTicketCreate Line: 2270
Module: Kernel::System::FAQ::FAQAdd Line: 680
Module: (eval) Line: 20
Module: Kernel::System::UnitTest::Run Line: 175
Module: ./otrs.UnitTest.pl Line: 62
ERROR: OTRS-otrs.UnitTest-10 Perl: 5.16.3 OS: linux Time: Mon Dec 7 11:35:11 2015
Message: No PriorityID (invalid Priority Name?)!
Traceback (11958):
Module: Kernel::System::Ticket::TicketCreate Line: 399
Module: Kernel::System::FAQ::_FAQApprovalTicketCreate Line: 2270
Module: Kernel::System::FAQ::FAQAdd Line: 680
Module: (eval) Line: 20
Module: Kernel::System::UnitTest::Run Line: 175
Module: ./otrs.UnitTest.pl Line: 62
ERROR: OTRS-otrs.UnitTest-10 Perl: 5.16.3 OS: linux Time: Mon Dec 7 11:35:11 2015
Message: Could not create approval ticket!
Traceback (11958):
Module: Kernel::System::FAQ::FAQAdd Line: 691
Module: (eval) Line: 20
Module: Kernel::System::UnitTest::Run Line: 175
Module: ./otrs.UnitTest.pl Line: 62
ERROR: OTRS-otrs.UnitTest-10 Perl: 5.16.3 OS: linux Time: Mon Dec 7 11:35:11 2015
Message: ParentID cannot be empty!
Traceback (11958):
Module: Kernel::System::FAQ::Category::CategoryUpdate Line: 1027
Module: (eval) Line: 345
Module: Kernel::System::UnitTest::Run Line: 175
Module: ./otrs.UnitTest.pl Line: 62
DebugLog error: Summary: Error in SOAP call: 500 Can't connect to [hostname]:443 at /opt/otrs/Kernel/GenericInterface/Transport/HTTP/SOAP.pm line 578. Data : No data provided.
and many more.
The last one is the one I'm most confused about. It obviously uses the FQDN set in Framework -> Core. But no matter which value I enter (hostname or IP address), the unit test can't connect. I created the webservice as shown in the FAQ manual, but the connection to
https://[hostname]/otrs/nph-genericinterface.pl/Webservice/GenericFAQConnector
first creates a SSL security warning (which makes no sense index.pl and customer.pl work fine) and then says "ERR_EMPTY_RESPONSE"
Does anyone have any idea what's wrong with our system.