Error creating DateTime object. [SOLVED]

Moderator: crythias

Post Reply
Dethas
OTRS newbie
Posts: 25
Joined: 18 Jan 2017, 12:27
OTRS Version?: 6.0.8
Real Name: Patric

Error creating DateTime object. [SOLVED]

Post by Dethas »

Hello,
Since upgrade from OTRS 5 to OTRS 6 i have a problem with error logs.
I got this every time i create a custom article using process button.
OTRS-CGI-10 Error creating DateTime object.
OTRS-CGI-10 Missing parameter Year.
I checked my DateTime module using /opt/otrs/bin/otrs.CheckModules.pl and it was all ok.
My process run without any problems, the only thing is that error log, but i don't know what is on about with this error.
If someone knows where is the problem, please let me know.
Last edited by Dethas on 14 Nov 2018, 13:57, edited 1 time in total.

Dethas
OTRS newbie
Posts: 25
Joined: 18 Jan 2017, 12:27
OTRS Version?: 6.0.8
Real Name: Patric

Re: Error creating DateTime object.

Post by Dethas »

I found what is causing the problem.
Here's an image:
Image
The problem is with PendingTime. If i remove it, the error log doesn't show up. Funny thing is that this PendingTime is set correctly. My value is 1800 which gives me +30 minutes to actual time and it works well. I chcked diffrent values because my default was also set to 1800, but it worked anyway.

Is this a bug or am i missing something?

reneeb
OTRS guru
Posts: 4797
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: Error creating DateTime object.

Post by reneeb »

Which type is this field?
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Dethas
OTRS newbie
Posts: 25
Joined: 18 Jan 2017, 12:27
OTRS Version?: 6.0.8
Real Name: Patric

Re: Error creating DateTime object.

Post by Dethas »

This is default field, not a dynamic one, here's an image:
Image
It is used to set pending remainder state.

Dethas
OTRS newbie
Posts: 25
Joined: 18 Jan 2017, 12:27
OTRS Version?: 6.0.8
Real Name: Patric

Re: Error creating DateTime object.

Post by Dethas »

Hello again!
At last, the problem has been solved in patch OTRS 6 Patch Level 11
Bug#14045 – Error creating DateTime object for pending time in Process ticket.
Case closed!

skilled
OTRS newbie
Posts: 69
Joined: 11 Apr 2018, 13:53
OTRS Version?: 6.0.16

Re: Error creating DateTime object.

Post by skilled »

Dethas wrote:
04 Jul 2018, 14:15
This is default field, not a dynamic one, here's an image:
Image
It is used to set pending remainder state.
I know the subject is old, but could you tell me please how to remove the pending time what you talked about to solve the error of Error creating DateTime object, because i still getting this problem.

Thanks in advance

Post Reply