Package: otrs
Version: 2.0.4p01-1
Severity: normal

Click on Admin --> Users --> select any user, or even your own username! --> 
Change --> mark one or more queues in the My Queues listing (e.g. select the 
"Junk" queue) --> Update.
This yields the following error message:


---8<---
[ OTRS ]         Björn Wiberg ([EMAIL PROTECTED]) ons 18. jan 2006 08:27:27

Fel: Module '' not found!
Kommentar:      
Rapportera fel:         
Traceback:      ERROR: OTRS-CGI-10 Perl: 5.8.4 OS: linux Time: Wed Jan 18 
08:27:27 2006

Message: Module '' not found!

Traceback (25122):
   Module: Kernel::Modules::AdminUser::Run (v1.31 ) Line: 129
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 651
   Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.80) Line: 47

Början av sidan
Powered by OTRS 2.0.4
--->8---


If a user edits his/her own profile through Preferences --> My Queues 
everything works fine.
Everything worked just fine in 2.0.1-pl1, but broke in 2.0.4.


The specified line in index.fpl states:

    $Interface->Run();

And the line in AdminUser states:

                if ($Self->{MainObject}->Require($Module)) {

...where

                my $Module = $Preferences{$Group}->{Module};

...and
           foreach my $Group (keys %Preferences) {

...is the loop over all groups. So for at least some group, the Module
attribute is empty and so the loop "fails".

The error message "Module '' not found!" appears to come from Main.pm, where
Require finds no module with an empty name.

This is also shown in the log:

[Wed Jan 18 08:27:27 2006][Notice][Kernel::System::User::UserUpdate] User: 
'bwiberg' updated successfully (2)!
[Wed Jan 18 08:27:27 2006][Error][Kernel::System::Main::Require][44] Need 
module!
[Wed Jan 18 08:27:27 2006][Error][Kernel::Modules::AdminUser::Run][129] Module 
'' not found!

The other attributes of the user are changed correctly (as the log says).

Any ideas?

Thanks in advance!

Best regards,
Björn


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.14.3.051125-01-dell-custom
Locale: LANG=swedish, LC_CTYPE=swedish (charmap=ISO-8859-1) (ignored: LC_ALL 
set to swedish)

Versions of packages otrs depends on:
ii  apache2                 2.0.55-3-custom1 next generation, scalable, extenda
ii  apache2-mpm-prefork [ap 2.0.55-3-custom1 traditional model for Apache2
ii  libauthen-sasl-perl     2.08-2           Authen::SASL - SASL Authentication
ii  libdate-pcalc-perl      1.2-2            Perl module for Gregorian calendar
ii  libdbi-perl             1.46-6           Perl5 database interface by Tim Bu
ii  libemail-valid-perl     0.15-1           Check validity of Internet email a
ii  libio-stringy-perl      2.110-1          Perl5 modules for IO from scalars 
ii  libmailtools-perl       1.62-1           Manipulate email in perl programs
ii  libmime-perl            5.417-1          Perl5 modules for MIME-compliant m
ii  perl                    5.8.4-8          Larry Wall's Practical Extraction 

-- no debconf information

Reply via email to