[rt-devel] Error in Tickets.pm?

Ayan R. Kayal ayan.kayal at yale.edu
Tue Jul 24 10:09:45 EDT 2001


This is the specific error I got:

error in file:   /opt/rt2/WebRT/data/obj/STANDARD/Search/Listing.html
  line 126:  Can't locate object method "FreezeLimits" via package
"RT::Tickets" (perhaps you forgot to load "RT::Tickets"?)

context:   ...
122:  $_out->('/Search/Listing.html?ClearRestrictions=1">New search</a><br>
123:  <A HREF="');
124:  $_out->($_escape->(( $RT::WebPath),'h'));
125:  $_out->('/Search/Listing.html?Bookmark=');
126:  $_out->($_escape->(($session{'tickets'}->FreezeLimits()),'u','h'));
127:  $_out->('&TicketsSortBy=');
128:  $_out->($_escape->(($session{'tickets_sort_by'}),'h'));
129:  $_out->('&TicketsSortOrder=');
130:  $_out->($_escape->(($session{'tickets_sort_order'}),'h'));
...

O-                         ~ARK

> -----Original Message-----
> From: rt-devel-admin at lists.fsck.com
> [mailto:rt-devel-admin at lists.fsck.com]On Behalf Of Ayan R. Kayal
> Sent: Tuesday, July 24, 2001 10:08 AM
> To: rt-devel at fsck.com
> Subject: [rt-devel] Error in Tickets.pm?
>
>
> sub FreezeLimits {
>         my $self = shift;
>         require FreezeThaw;
>         return (FreezeThaw::freeze($self->{'TicketRestrictions'},
>                                   ));
> }
>
> I just upgraded to 2.0.2 and Mason had issues with this. Should it be:
>
> sub FreezeLimits {
>         my $self = shift;
>         require FreezeThaw;
>         return (FreezeThaw::freeze($self->{'TicketRestrictions'}));
> }





More information about the Rt-devel mailing list