RT::CurrentUser::HasSystemRight Unimplemented in HTML::Mason::Commands?

Hello,

I am testing RT3 for an internal deployment.
After installing RT3 and doing some rudimentary configuration (setting
domain, mailing addresses, etc.), I get the web interface up and running.

However, when I try to login as root, I immediately get the following
error (note that providing a wrong password returns you to the login
screen, so only a valid credential throws the error):

System error
error: RT::CurrentUser::HasSystemRight Unimplemented in
HTML::Mason::Commands. (/opt/rt3/local/html/Elements/Header line 34)
context:

453: else {
454: my ($package, $filename, $line);
455: ($package, $filename, $line) = caller;
456:
457: die “$AUTOLOAD Unimplemented in $package. ($filename line $line) \n”;
458: }
459:
460: }
461:

code stack: /usr/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:457
/opt/rt3/local/html/Elements/Header:34
/opt/rt3/share/html/index.html:24
/opt/rt3/share/html/autohandler:158

RT::CurrentUser::HasSystemRight Unimplemented in HTML::Mason::Commands.
(/opt/rt3/local/html/Elements/Header line 34)

Trace begun at /usr/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm line 128
HTML::Mason::Exceptions::rethrow_exception(‘RT::CurrentUser::HasSystemRight
Unimplemented in HTML::Mason::Commands.
(/opt/rt3/local/html/Elements/Header line 34) ^J’) called at
/usr/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 457
DBIx::SearchBuilder::Record::AUTOLOAD(‘RT::CurrentUser=HASH(0x104de20)’,
‘ModifySelf’) called at /opt/rt3/local/html/Elements/Header line 34
HTML::Mason::Commands::ANON(‘Title’, ‘RT at a glance’, ‘Refresh’,
undef) called at /usr/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x1053f04)’,
‘Title’, ‘RT at a glance’, ‘Refresh’, undef) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x1053f04)’, ‘Title’,
‘RT at a glance’, ‘Refresh’, undef) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050
HTML::Mason::Request::comp(undef, undef, ‘Title’, ‘RT at a glance’,
‘Refresh’, undef) called at /opt/rt3/share/html/index.html line 24
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’,
‘Error’, ‘Your username or password is incorrect’, ‘pass’, ‘password’,
‘user’, ‘root’, ‘Error’, ‘Your username or password is incorrect’)
called at /usr/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xf60218)’,
‘pass’, ‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password
is incorrect’, ‘pass’, ‘password’, ‘user’, ‘root’, ‘Error’, ‘Your
username or password is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0xf60218)’, ‘pass’,
‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password is
incorrect’, ‘pass’, ‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username
or password is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1050
HTML::Mason::Request::comp(undef, undef, ‘pass’, ‘password’, ‘user’,
‘root’, ‘Error’, ‘Your username or password is incorrect’, ‘pass’,
‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password is
incorrect’) called at /usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 746
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x131573c)’,
‘pass’, ‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password
is incorrect’) called at /opt/rt3/share/html/autohandler line 158
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’,
‘Error’, ‘Your username or password is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x10eb674)’,
‘pass’, ‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password
is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1051
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x10eb674)’, ‘pass’,
‘password’, ‘user’, ‘root’, ‘Error’, ‘Your username or password is
incorrect’) called at /usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm
line 1050
HTML::Mason::Request::comp(undef, undef, undef, ‘pass’, ‘password’,
‘user’, ‘root’, ‘Error’, ‘Your username or password is incorrect’)
called at /usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’,
‘Error’, ‘Your username or password is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’,
‘Error’, ‘Your username or password is incorrect’) called at
/usr/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 290
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x131573c)’)
called at /usr/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x131573c)’) called
at /usr/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x131573c)’)
called at /usr/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x1162d10)’,
‘Apache=SCALAR(0xfaadbc)’) called at /opt/rt3/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0xfaadbc)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0xfaadbc)’) called at /dev/null line 0

Perl modules are, as far as I know, the most current from CPAN.

Any idea what may cause this?

Best regards,

Ruediger Riediger

Dr. Ruediger Riediger Sun Microsystems GmbH
NSG - SunCERT Komturstr. 18a
mailto:Ruediger.Riediger@Sun.com D-12099 Berlin
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
PGP 2048RSA/0x2C5020E9 964C E189 0FF0 8882 2BAB 65E2 6912 1FF2

Hello,

I am testing RT3 for an internal deployment.
After installing RT3 and doing some rudimentary configuration (setting
domain, mailing addresses, etc.), I get the web interface up and running.

What version of RT 3 does this bug report refer to?

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Hello Jesse,

sorry for missing the obvious.

I am running RT 3.0.2 on “Apache/1.3.27 (Unix) mod_perl/1.27
mod_ssl/2.8.12 OpenSSL/0.9.7a” with mysql Ver 11.18 Distrib 3.23.55,
for sun-solaris2.9 (sparc sun4u) Generic_112233-06, latest Solaris
patches installed.

Jesse Vincent wrote:

I am testing RT3 for an internal deployment.
After installing RT3 and doing some rudimentary configuration (setting
domain, mailing addresses, etc.), I get the web interface up and running.

What version of RT 3 does this bug report refer to?

Thanks again,

Ruediger Riediger

Dr. Ruediger Riediger Sun Microsystems GmbH
NSG - SunCERT Komturstr. 18a
mailto:Ruediger.Riediger@Sun.com D-12099 Berlin
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
PGP 2048RSA/0x2C5020E9 964C E189 0FF0 8882 2BAB 65E2 6912 1FF2

Hello Jesse,

sorry for missing the obvious.

I am running RT 3.0.2 on “Apache/1.3.27 (Unix) mod_perl/1.27
mod_ssl/2.8.12 OpenSSL/0.9.7a” with mysql Ver 11.18 Distrib 3.23.55,
for sun-solaris2.9 (sparc sun4u) Generic_112233-06, latest Solaris
patches installed.

Jesse Vincent wrote:

I am testing RT3 for an internal deployment.
After installing RT3 and doing some rudimentary configuration (setting
domain, mailing addresses, etc.), I get the web interface up and running.

What version of RT 3 does this bug report refer to?

Looking deeper, you’re failing on a bogus API call in
local/html/Elements/Header. That’s not code we ship. It sounds like
someone at Sun wrote code that doesn’t conform to the API. Or is there
something weirder going on?

Best,
Jesse

Thanks again,

Ruediger Riediger


Dr. Ruediger Riediger Sun Microsystems GmbH
NSG - SunCERT Komturstr. 18a
mailto:Ruediger.Riediger@Sun.com D-12099 Berlin

NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

PGP 2048RSA/0x2C5020E9 964C E189 0FF0 8882 2BAB 65E2 6912 1FF2


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Hello Jesse,

Jesse Vincent wrote:

Looking deeper, you’re failing on a bogus API call in
local/html/Elements/Header. That’s not code we ship. It sounds like
someone at Sun wrote code that doesn’t conform to the API. Or is there
something weirder going on?

you are completely correct. I had some files copied over for a “Sun
look & feel” (colours, fonts, etc.) into the …/rt3/local/html/ file
tree. These files had been developed by an Sun engineer based on what he
thought to be RT3 beta [and therefore be compatible] but is RT 2.1.88.

After removing the files, everything worked fine. Thanks for your help.
Looks like I will need to develop the “look & feel” again for RT3.

One think I am wondering about: we have several shell-scripts calling
the RT command line interface. However, it seems to have been dropped
from RT3. Is there any substitute?

Thanks again,

R�diger Riediger

Dr. Ruediger Riediger Sun Microsystems GmbH
NSG - SunCERT Komturstr. 18a
mailto:Ruediger.Riediger@Sun.com D-12099 Berlin
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
PGP 2048RSA/0x2C5020E9 964C E189 0FF0 8882 2BAB 65E2 6912 1FF2