Hexcheck number generator

[What happens when you click "send" instead of "attach"? :)] So, now it _is_ attached: this is a ~otrs/Kernel/System/Ticket/Number/ generator for a shorter hexa numbering with kind of checksum. Our customers complained about the DateCheck's length, so this is shorter. The output ticket numbers are like: Ticket# 70141D0. In /etc/otrs/Kernel/Config.pm: $Self->{'Ticket::NumberGenerator'} = 'Kernel::System::Ticket::Number::HexCheck'; $Self->{'Ticket::NumberGenerator::HexCheck::MinCounterSize'} = 5; Enjoy! -- Now using M2, Opera's e-mail client: http://www.opera.com/m2/

Hi Peter, Peter Gervai wrote:
[What happens when you click "send" instead of "attach"? :)]
So, now it _is_ attached: this is a ~otrs/Kernel/System/Ticket/Number/ generator for a shorter hexa numbering with kind of checksum. Our customers complained about the DateCheck's length, so this is shorter. The output ticket numbers are like: Ticket# 70141D0.
Cool! I was testing this module and I get the following warning: Illegal hexadecimal digit ' ' ignored at /home/martin/src/otrs-cvs/Kernel/System/Ticket/Number/HexCheck.pm line 52. Any ideas? Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Sat, 07 May 2005 22:29:13 +0200, Martin Edenhofer
output ticket numbers are like: Ticket# 70141D0.
Cool! I was testing this module and I get the following warning:
Illegal hexadecimal digit ' ' ignored at /home/martin/src/otrs-cvs/Kernel/System/Ticket/Number/HexCheck.pm line 52.
Any ideas?
Sure. The counter [in the counterfile] is decimal. :) (Much easier to increment, you see, and nobody _should_ care anyway apart from the module. And as a bonus it won't choke other modules if they happen to use the same counter. :)) Peter
participants (2)
-
Martin Edenhofer
-
Peter Gervai