ich habe ein Thema in OTRS Community 6.0.30:
wenn ich einen Kunden unter AdminCustomerCompany anlege der das Land Ungarn hat wird das Datumsformat wie folgt angelegt: '202119-1-19 07:15:54'
Was natürlich falsch ist. Im Apache Status erfolgt dann die Meldung:
Code: Select all
Jan 20 08:12:52 otrs-itsm-prod OTRS-CGI-25[32626]: [Error][Kernel::System::DateTime::new][Line:174]: Error creating DateTime object ( 'String' => '202119-1-19 07:15:54' ).
Jan 20 08:12:53 otrs-itsm-prod OTRS-CGI-25[32730]: [Error][Kernel::System::DateTime::_StringToHash][Line:1753]: Invalid date/time string 202119-1-19 07:15:54.
Jan 20 08:12:53 otrs-itsm-prod OTRS-CGI-25[32730]: [Error][Kernel::System::DateTime::_CPANDateTimeObjectCreate][Line:1812]: Invalid value for String: 202119-1-19 07:15:54.
Jan 20 08:12:53 otrs-itsm-prod OTRS-CGI-25[32730]: [Error][Kernel::System::DateTime::new][Line:174]: Error creating DateTime object ( 'String' => '202119-1-19 07:15:54' ).
Jan 20 08:12:54 otrs-itsm-prod OTRS-CGI-25[415]: [Error][Kernel::System::DateTime::_StringToHash][Line:1753]: Invalid date/time string 202119-1-19 07:15:54.
Jan 20 08:12:54 otrs-itsm-prod OTRS-CGI-25[415]: [Error][Kernel::System::DateTime::_CPANDateTimeObjectCreate][Line:1812]: Invalid value for String: 202119-1-19 07:15:54.
Jan 20 08:12:54 otrs-itsm-prod OTRS-CGI-25[415]: [Error][Kernel::System::DateTime::new][Line:174]: Error creating DateTime object ( 'String' => '202119-1-19 07:15:54' ).
Jan 20 08:14:04 otrs-itsm-prod OTRS-CGI-25[412]: [Error][Kernel::System::DateTime::_StringToHash][Line:1753]: Invalid date/time string 202119-1-19 07:15:54.
Jan 20 08:14:04 otrs-itsm-prod OTRS-CGI-25[412]: [Error][Kernel::System::DateTime::_CPANDateTimeObjectCreate][Line:1812]: Invalid value for String: 202119-1-19 07:15:54.
Jan 20 08:14:04 otrs-itsm-prod OTRS-CGI-25[412]: [Error][Kernel::System::DateTime::new][Line:174]: Error creating DateTime object ( 'String' => '202119-1-19 07:15:54' ).
error log:
RequestURI: /otrs/index.pl?Action=AdminLog
Traceback (32513):
Module: Kernel::System::DateTime::new Line: 174
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 306
Module: Kernel::System::ObjectManager::Create Line: 241
Module: Kernel::Modules::AdminLog::Run Line: 63
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
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
[Wed Jan 20 07:53:13.715971 2021] [:error] [pid 32513] Can't call method "ToTimeZone" on an undefined value at /opt/otrs/Kernel/Modules/AdminLog.pm line 71.\n
dazu Frage: wie wird das Datum zusammengebaut und wo kann ich das ändern?
Wenn Znuny jetzt die Security Patche verteilt, wie kommt man künftig mit Bugs klar?