Hi OTRS,

There is a bug in Kernel/Modules/AgentStats.pm which does not accept
absolute dates when creating or editing reports/statistics:

You will see something like this in user.log:
[Error][Kernel::System::Time::TimeStamp2SystemTime][Line:208]: 2013-07-00
11:23:59


Here is patch:

--- Kernel/Modules/AgentStats.pm.orig 2013-03-05 20:43:50.000000000 +1300
+++ Kernel/Modules/AgentStats.pm 2013-07-11 09:27:37.522545270 +1200
@@ -953,7 +953,6 @@
                             "%04d-%02d-%02d %02d:%02d:%02d",
                             $Time{ $Limit . 'Year' },
                             $Time{ $Limit . 'Month' },
-                            $Time{ $Limit . 'Week' },
                             $Time{ $Limit . 'Day' },
                             $Time{ $Limit . 'Hour' },
                             $Time{ $Limit . 'Minute' },


You except 6 parameters in sprintf but passing 7 :(




-- 
Artis Caune

    Everything should be made as simple as possible, but not simpler.
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to