Cannot create appointment in calendar

Moderator: crythias

Post Reply
chrullrich
Znuny newbie
Posts: 4
Joined: 26 Jan 2016, 12:13
Znuny Version: 6.x.y

Cannot create appointment in calendar

Post by chrullrich »

Hello,

I have a problem with the calendar. Whenever I try to create an appointment, all I get is a darkened calendar view with a little box at the top that briefly says "Loading...", followed by "Appointment", but no fields to edit.

This is the traceback:

Message: Error creating DateTime object ( 'Day' => '28', 'Hour' => '21', 'Minute' => '', 'Month' => '8', 'Second' => 0, 'Year' => '2021' ).

RemoteAddress:
RequestURI: /otrs/index.pl

Traceback (62367):
Module: Kernel::System::DateTime::new Line: 175
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 307
Module: Kernel::System::ObjectManager::Create Line: 242
Module: Kernel::Modules::AgentAppointmentEdit::Run Line: 744
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1136
Module: /usr/local/otrs/bin/fcgi-bin/index.pl Line: 63

Can't call method "ToEpoch" on an undefined value at /usr/local/otrs/bin/fcgi-bin/../../Kernel/Modules/AgentAppointmentEdit.pm line 747.

The problem is probably the empty string for the minute.

This is Znuny version 6.1.1.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Cannot create appointment in calendar

Post by root »

Hi,

There was a quick fix for this: https://github.com/znuny/Znuny/commit/2 ... 8de416ca2a
Which kind of installation do you have (RPM, tar.ga, etc.), where and when did you downloadedit?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
chrullrich
Znuny newbie
Posts: 4
Joined: 26 Jan 2016, 12:13
Znuny Version: 6.x.y

Re: Cannot create appointment in calendar

Post by chrullrich »

Hello,

it works, thank you.

My download is znuny-latest-6.1.tar.gz dated 2021-08-05 16:28 CEST, and it looks like I missed the reroll by literal minutes (downloaded at 2021-08-06 08:37, the current tarball has 08:55).

Silently rerolling releases without changing the version number is evil ... :)
Post Reply