
Hi, On Fri, Jan 30, 2004 at 11:10:51AM -0500, Michael Gurski wrote:
Take a look on the UncountedUnlockTime config option
I had left Default.pm untouched, and did not use UncountedUnlockTime in Kernal/Config.pm, so the values were the default ones. The test was done this morning, friday morning actually, so the unlocktime should have been counted. I pasted the defaults from Default.pm, only removing the whole friday line, and it worked ! If I add the friday line again, it does not work anymore.
I noticed a similar problem with our unlocking, as we're not counting non-business hours on every day of the week (1900-0700). Adding in copious output statements, it seems there's a bug in bin/UnlockTickets.pl, where it doesn't properly count what hours fall within the UncountedUnlockTime. The following changes "appear" to work, but YMMV:
change: elsif ($CountDay eq $ToDay && $Nh >= $_) { [...]
I reviewed bin/UnlockTickets.pl and I found the bug. Now it should work fine. Thanks for your help! :) Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!