[dev] Are errors *REALLY* errors

Martin Edenhofer me at otrs.com
Wed Nov 7 09:34:57 GMT 2007


Hi Tuc,

On Nov 6, 2007, at 1:34 AM, Tuc at T-B-O-H.NET wrote:

> 	(I was told this was a better list to post to, not the standard
> OTRS list)
>
> 	In looking closer at the code, I see some places where the system
> throws an :
>
>        $Self->{LogObject}->Log(
>            Message => 'Something here',
>            Priority => 'error',
>        );
>
> 	but then goes about its business as if nothing REALLY was wrong. The
> one that is of biggest concern at the current moment is :
>
> Kernel/Output/HTML/PreferencesCustomQueue.pm, sub Param, where it  
> says :
>
>    # check needed param
>    if (!$Param{UserData}->{UserID}) {
>        $Self->{LogObject}->Log(Priority => 'error', Message => "Need  
> UserID!");
>        return ();
>    }
>
> 	It appears that it *ALWAYS* prints it when your doing an :
>
>      <form action="/otrs/index.pl" method="post">
>        <input type="hidden" name="Action" value="AdminUser">
>        <input type="hidden" name="Subaction" value="Add">
>
> 	so is it *REALLY* an error. It appears to throw this into
> the Apache error log every time I attempt to add an Admin User.

Normally it shout not appear if you go into the admin user mask.

So I think it's a bug (but it's working fine on my installations %-)).

It would be nice if the problem would be reproducible to finde the  
problem.

-=> So can you reproduce this on a fresh installed OTRS (only default  
settings). Did you some customizing on OTRS?

Greetings,

  -Martin

-- 
((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing
   Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
     http://www.otrs.com/ :: Communication with success!

Address of record: Bad Homburg
Local Court: Bad Homburg, HRB 10751
Tax number: 003/240/97521

Chairman: Burchard Steinbild
Chief Executive Officer: André Mindermann



More information about the dev mailing list