-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

Alexander Scholler schrieb:

>> Today we started installing aditional packages. We installed the
>> Timetracking, 


so did I (TimeAccounting 1.0.1) and so far I've encountered some trouble
with the time accounting package. It appears that there are some bugs in
Kernel::System::TimeAccounting. For instance:

(1) for some weird reason there is nothing left from Param{Overtime}
after the quotation in line 568, not as expected 0. Shouldn't an integer
quotation be called like that (?):

        $Self->{DBObject}->Quote($Param{$_}, 'Integer')


(2) in the INSERT-statement beginning in line 571 the integer values are
quoted

(3) The INSERT-statement in line 596 does not specify a value for
description BUT description varchar(1020) NOT NULL, which leads us to...

...(4): the initial configuration doesn't allow to give a description
anyway.

OK however, after I managed to create an entry for the first user, the
update function seems to be buggy as well:

(5) the integer-quotation problem reappears in sub UserSettingsUpdate

(6) if the check boxes for "show overtime" or "create project" are not
selected the value is not set at all when updating the DB-entry, so I
added the following tow lines to

        #set default for ShowOverTime...
        if( !defined($Param{$UserID}{ShowOvertime})) {
                $Param{$UserID}{ShowOvertime} = 0;
        }

        #set default for CreateProject...
        if( !defined($Param{$UserID}{CreateProject})) {
                $Param{$UserID}{CreateProject} = 0;
        }

(6) (which is not that important and thus not really a bug) the German
translation is missing


I'd like to create an entry in bugs.otrs.org but the TimeAccounting
Module is not yet integrated :( so I just put it here.


regards, Torsten Thau

- --
Torsten Thau, Dipl. Inform.
c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz
phone: +49 371 5347 623
cell: +49 176 66 680 680
pgp-key: 0x292F987D
fax: +49 371 5347 625
http://www.cape-it.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFGUr19vXo8m5PgoXQRAuJwAJ47SiGQOZoBQhFOucA9sZjly6dKpQCeNG71
+TABuL6QLNuJy91Eys4mR7U=
=rraj
-----END PGP SIGNATURE-----
_______________________________________________
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
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to