Error with Query

What else shall I delete ?
Or do I have to install something.
I think I did all the steps from upgrading-doc andd install-doc.
But who knows, maybee I did something wrong.

Alex.

RT::Attribute::ContentType Unimplemented in RT::Attribute.
(/opt/rt3/lib/RT/Attribute_Overlay.pm line 227)

Trace begun at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Exceptions.pm line
131
HTML::Mason::Exceptions::rethrow_exception(‘RT::Attribute::ContentType
Unimplemented in RT::Attribute. (/opt/rt3/lib/RT/Attribute_Overlay.pm line
227) ^J’) called at
/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm line 457
DBIx::SearchBuilder::Record::AUTOLOAD(‘RT::Attribute=HASH(0x982c304)’)
called at /opt/rt3/lib/RT/Attribute_Overlay.pm line 227
RT::Attribute::Content(‘RT::Attribute=HASH(0x982c304)’) called at
/opt/rt3/lib/RT/Attribute_Overlay.pm line 299
RT::Attribute::SubValue(‘RT::Attribute=HASH(0x982c304)’, ‘Format’) called at
/opt/rt3/share/html/Search/Build.html line 722
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x968d61
8)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1074
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x
981e010)’) called at /opt/rt3/share/html/autohandler line 199
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x96a125
c)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1069
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 338
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 338
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x981e0
10)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm
line 134
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm
line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandl
er=HASH(0x981e010)’) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(
0x95b618c)’, ‘Apache=SCALAR(0x87ffbd4)’) called at /opt/rt3/bin/webmux.pl
line 145
eval {…} at /opt/rt3/bin/webmux.pl line 145
RT::Mason::handler(‘Apache=SCALAR(0x87ffbd4)’) called at /dev/null line 0
eval {…} at /dev/null line 0

WebPoint Internet Solutions
Alexander Waller
Vorarlberger Wirtschaftspark
A-6840 Götzis

www.webpoint.at
tel. +43 5523 58244
fax. +43 5523 58255
mobil +43 676 846068841

NEU: support@webpoint.at


  •   WebPoint Internet Solutions       *
    

What else shall I delete ?
Or do I have to install something.
I think I did all the steps from upgrading-doc andd install-doc.
But who knows, maybee I did something wrong.

I’d like you to try a patch for me:

find the line where it calls ->ContentType in
lib/RT/Attribute_Overlay.pm.

change it to call ->__Value(‘ContentType’)

then stop and start apache and tell me if that fixes it.

Hi!
I did it!
Now it seems to work.

I put a little diff here for you to check if I did what you wanted me to.

Alex.

fx:/opt/rt3/lib/RT # flo-make-diff Attribute_Overlay.pm.orig
Attribute_Overlay.pm
— Attribute_Overlay.pm.orig 2004-07-07 21:37:11.694492016 +0200
+++ Attribute_Overlay.pm 2004-07-07 21:37:34.002100744 +0200
@@ -224,7 +224,7 @@
sub Content {
my $self = shift;
my $content = $self->_Value(‘Content’);

  • if ($self->ContentType eq ‘storable’) {
  • if ($self->__Value(‘ContentType’) eq ‘storable’) {
    eval {$content = $self->_DeserializeContent($content); };
    if ($@) {
    $RT::Logger->error(“Deserialization of content for attribute
    ”.$self->Id. " failed. Attribute was: ".$content);
    @@ -246,7 +246,7 @@
    my $self = shift;
    my $content = shift;
  • if ($self->ContentType eq ‘storable’) {
  • if ($self->__Value(‘ContentType’) eq ‘storable’) {

    We eval the serialization because it will lose on a coderef.

    eval {$content = $self->_SerializeContent($content); };
    if ($@) {Von: Jesse Vincent [mailto:jesse@bestpractical.com]
    Gesendet: Mittwoch, 07. Juli 2004 21:32
    An: Alexander Waller
    Cc: rt-users@lists.bestpractical.com
    Betreff: Re: [rt-users] Error with Query

What else shall I delete ?
Or do I have to install something.
I think I did all the steps from upgrading-doc andd install-doc.
But who knows, maybee I did something wrong.

I’d like you to try a patch for me:

find the line where it calls ->ContentType in
lib/RT/Attribute_Overlay.pm.

change it to call ->__Value(‘ContentType’)

then stop and start apache and tell me if that fixes it.

Alex.

RT::Attribute::ContentType Unimplemented in RT::Attribute.
(/opt/rt3/lib/RT/Attribute_Overlay.pm line 227)

Trace begun at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Exceptions.pm
line
131
HTML::Mason::Exceptions::rethrow_exception(‘RT::Attribute::ContentType
Unimplemented in RT::Attribute. (/opt/rt3/lib/RT/Attribute_Overlay.pm line
227) ^J’) called at
/usr/lib/perl5/site_perl/5.8.3/DBIx/SearchBuilder/Record.pm line 457
DBIx::SearchBuilder::Record::AUTOLOAD(‘RT::Attribute=HASH(0x982c304)’)
called at /opt/rt3/lib/RT/Attribute_Overlay.pm line 227
RT::Attribute::Content(‘RT::Attribute=HASH(0x982c304)’) called at
/opt/rt3/lib/RT/Attribute_Overlay.pm line 299
RT::Attribute::SubValue(‘RT::Attribute=HASH(0x982c304)’, ‘Format’) called
at
/opt/rt3/share/html/Search/Build.html line 722
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x968d61

8)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1074
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 760

HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x

981e010)’) called at /opt/rt3/share/html/autohandler line 199
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96a125

c)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1069
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 338
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
338
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line
297

HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x981e0

10)’) called at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm
line 134
eval {…} at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm
line 134

HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandl

er=HASH(0x981e010)’) called at
/usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ApacheHandler.pm line 792

HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(

0x95b618c)’, ‘Apache=SCALAR(0x87ffbd4)’) called at /opt/rt3/bin/webmux.pl
line 145
eval {…} at /opt/rt3/bin/webmux.pl line 145
RT::Mason::handler(‘Apache=SCALAR(0x87ffbd4)’) called at /dev/null line 0
eval {…} at /dev/null line 0

WebPoint Internet Solutions
Alexander Waller
Vorarlberger Wirtschaftspark
A-6840 Götzis

www.webpoint.at
tel. +43 5523 58244
fax. +43 5523 58255
mobil +43 676 846068841

NEU: support@webpoint.at


  •   WebPoint Internet Solutions       *
    


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com