[rt-users] Mason error displaying a ticket

chip clofine chip.clofine at dhapdigital.com
Thu Oct 18 15:14:58 EDT 2001


Anyone know why I'm getting this Mason error displaying
a ticket (/Ticket/Display.html?id=1)? Tesdeps didn't report
a dependency problem.

Thanks...
Chip



Mason error
error in file:
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Elements/ShowTransaction

line 150:  Can't locate object method "new" via package "Text::Wrapper"
context:
...
146:  }
147:  # 13456 is a random # of about the biggest size we'd want to see
inline text
148:  if ($message->ContentType =~ m{^(text/plain|message|text$)}i &&
149:  length($message->Content)<13456) {
150:  my $wrapper = new Text::Wrapper (columns=>85);
151:  $_out->($_escape->(( $wrapper->wrap( $message->Content) ),'h'));
152:  $_out->('
153:  ');
154:  }
...
component stack:   /Ticket/Elements/ShowTransaction [standard]
/Ticket/Elements/ShowHistory [standard]
/Ticket/Display.html [standard]
/autohandler [standard]
code stack:
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Elements/ShowTransaction:150
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Elements/ShowHistory:62
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html:153
/opt/rt2/WebRT/data/obj/STANDARD/autohandler:52









More information about the rt-users mailing list