Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in logs after changing the config option "TimeWorkingHours" #592

Closed
StefanRother-OTOBO opened this issue Oct 29, 2020 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@StefanRother-OTOBO
Copy link
Contributor

Hi,

after changing the config option "TimeWorkingHours" I have a many errors inside the logs (Sat and Sun have no time configured in my example config). The error is only inside the log.

Message: Missing value for Sat!

RemoteAddress: 192.168.176.186
RequestURI: /otobo/index.pl

Traceback (17): 
  Module: Kernel::System::SysConfig::ValueType::WorkingHours::ModifiedValueGet Line: 240
  Module: Kernel::System::SysConfig::Base::Framework::_ModifiedValueCalculate Line: 194
  Module: Kernel::System::SysConfig::Base::Framework::SettingModifiedXMLContentParsedGet Line: 91
  Module: Kernel::System::SysConfig::SettingGet Line: 377
  Module: Kernel::System::SysConfig::_SettingTranslatedGet Line: 6155
  Module: Kernel::System::SysConfig::ConfigurationTranslatedGet Line: 2150
  Module: Kernel::System::SysConfig::ConfigurationSearch Line: 4401
  Module: Kernel::Modules::AdminSystemConfiguration::Run Line: 271
  Module: Kernel::System::Web::InterfaceAgent::Run Line: 1247
  Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 662
  Module: CGI::Emulate::PSGI::__ANON__ (v0.23) Line: 30
  Module: Plack::Middleware::HTTPExceptions::try {...}  Line: 20
  Module: (eval) (v0.30) Line: 100
  Module: Try::Tiny::try (v0.30) Line: 93
  Module: Plack::Middleware::HTTPExceptions::call Line: 23
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Refresh::call Line: 23
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 339
  Module: Plack::Middleware::ForceEnv::call (v0.02) Line: 18
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::ReverseProxy::call (v0.16) Line: 68
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Conditional::call Line: 16
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::ErrorDocument::call Line: 15
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::App::URLMap::call Line: 71
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Conditional::call Line: 16

ERROR: OTOBO-CGI-59 Perl: 5.32.0 OS: linux Time: Thu Oct 29 08:30:44 2020

Message: Missing value for Sun!

RemoteAddress: 192.168.176.186
RequestURI: /otobo/index.pl

Traceback (17): 
  Module: Kernel::System::SysConfig::ValueType::WorkingHours::ModifiedValueGet Line: 240
  Module: Kernel::System::SysConfig::Base::Framework::_ModifiedValueCalculate Line: 194
  Module: Kernel::System::SysConfig::Base::Framework::SettingModifiedXMLContentParsedGet Line: 91
  Module: Kernel::System::SysConfig::SettingGet Line: 377
  Module: Kernel::System::SysConfig::_SettingTranslatedGet Line: 6155
  Module: Kernel::System::SysConfig::ConfigurationTranslatedGet Line: 2150
  Module: Kernel::System::SysConfig::ConfigurationSearch Line: 4401
  Module: Kernel::Modules::AdminSystemConfiguration::Run Line: 271
  Module: Kernel::System::Web::InterfaceAgent::Run Line: 1247
  Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 662
  Module: CGI::Emulate::PSGI::__ANON__ (v0.23) Line: 30
  Module: Plack::Middleware::HTTPExceptions::try {...}  Line: 20
  Module: (eval) (v0.30) Line: 100
  Module: Try::Tiny::try (v0.30) Line: 93
  Module: Plack::Middleware::HTTPExceptions::call Line: 23
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Refresh::call Line: 23
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Sandbox::_2fopt_2fotobo_2fbin_2fpsgi_2dbin_2fotobo_2epsgi::__ANON__ Line: 339
  Module: Plack::Middleware::ForceEnv::call (v0.02) Line: 18
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::ReverseProxy::call (v0.16) Line: 68
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Conditional::call Line: 16
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::ErrorDocument::call Line: 15
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::App::URLMap::call Line: 71
  Module: Plack::Component::__ANON__ Line: 50
  Module: Plack::Middleware::Conditional::call Line: 16

Thanks,

Stefan

@bschmalhofer bschmalhofer self-assigned this Dec 28, 2020
@bschmalhofer bschmalhofer added this to the OTOBO 10.0.7 milestone Dec 28, 2020
@bschmalhofer bschmalhofer added the enhancement New feature or request label Dec 28, 2020
@bschmalhofer
Copy link
Contributor

Hi @StefanRother-OTOBO ,

please check whether that effect still occurs in https://github.com/RotherOSS/otobo/tree/issue-%23592-avoid_error_messages.

@svenoe
Copy link
Contributor

svenoe commented Jan 20, 2021

While at it, also check default calendar usage. (It's broken for SLAs according to Stefan.)

@svenoe
Copy link
Contributor

svenoe commented Feb 11, 2021

Initial error seems fixed, default calender usage can be checked in another issue.

@svenoe svenoe closed this as completed Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants