Rt 2.0.5

I’m proud to announce RT 2.0.5. This release contains more churn than any
release since before 2.0 beta 3 (that means it also contains the most cool new
stuff). Folks have hammered on the test releases and it seems ready to go.
As with any production software, I strongly encourage you to test RT
thoroughly before deploying it.

This release cleans up a lot of UI and internals, fixes a couple small
bugs, fixes a condition that could cause a mail loop, adds some minor new
features and, most importantly, adds support for attaching documents to tickets
via the web ui. Now you can attach mp3s to tickets via the web ui
and play them by clicking on them.

    Jesse

Changes since 2.0.4:

Core:
Cleaned up the return values from Ticket->CreateLink. (always return
$status, $msg);
Updated Transaction->Content to be smarter about showing the first
message in the transaction.
Added a convenience function to RT::Attachemnt to find Children of this
attachment.
Added code to RT::Attachemnt to allow access to the ‘Parent’ attribute
Added a convenience function to RT::Attachments to search by ContentType.
Added some docs to RT::Attachments

Documentation:
Removed the old manual skeleton in docs in favor of the web based docs.
README: added more pointers to the ‘complete’ docs.
README: Removed the little bit of configuration info in the readme
in favor of the ‘complete’ docs on the web
README: fixed a typo in the cronjob
Added some notes about what may happen for 2.2
Fixed a typo in the docs in the config file
Clarified the errata urls in the TODO file

Web Interface:
Added support for uploading attachments on ticket creation and update.
Fixed a typo in the ‘bookmark this search’ link display.
By default, limit search results to 50 per page.
Jumbo no longer loses ticket update contents
Fix for ‘blank’ searches bug when using search bookmarks
Now shows global scrips and keywordselects in the queue UI for
adminning the same.
Show ‘comment’ and ‘correspond’ for multipart messages in the
per-transaction listing.
[home] now gets greyed out when you’re there
Cleaned up the date editing ui
Cleaned up the Relationship editing and display ui
Code cleanups to TicketElements/AddWatchers and Elements/MessageBox
for more readable and maintainable code
Cleaned up Admin/Users search functionality
Enabled searching for disabled users
Strip trailing spaces from things we’re trying to link to.
Sort Links by something intelligent when displaying them

Mail sending:
Changed the case of the Managed-by header to be less grating
Autoreplies are now from “Queuename” rather than from “RT”

Mail receipt:
fix to properly grab ‘from’ addresses for purposes of determining
whether something’s a mailer-daemon
Fix for mailgateway being unable to send error mail with
‘sendmailpipe’ mailing
Moved a bunch of mail gateway library routines to the library
where they belong
RT is now less likely to try to send mail to senders which
will cause loops

CLI:
CLI Added support for merging to the CLI
Cli now works as described when linking tickets. Formerly,
you couldn’t admit the “+” before an added link

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

Computer games don’t affect kids; I mean if Pac-Man affected us as
kids, we’d all be running around in darkened rooms, munching magic
pills and listening to repetitive electronic music.

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

I upgraded and got into immediate trouble…

These errors came up right after upgrading:

“my” variable $header masks earlier declaration in same statement at /usr/local/rt2/lib/RT/Interface/Email.pm line 439.
syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 437, near “$header qw( Errors-To Reply-To From Sender )”
syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 446, near “}”
BEGIN failed–compilation aborted at /usr/local/rt2/bin/rt-mailgate line 31.
554 5.3.0 “|/usr/local/rt2/bin/rt-mailgate --queue ticket-prufa --action correspond”… unknown mailer error 255

Here is the fix:

*** /usr/local/src/rt-2-0-5/lib/RT/Interface/Email.pm Mon Jul 30 07:45:50 2001
— /usr/local/rt2/lib/RT/Interface/Email.pm Wed Aug 15 09:52:27 2001
*** 434,442 ****
my $head = shift;
#Figure out who’s sending this message.

! foreach my $header qw( Errors-To Reply-To From Sender ) {
# If there’s a header of that name
! my $headerobj = $head->get($header);
if ($headerobj) {
my ($addr, $name ) = ParseAddressFromHeader($headerobj);
# If it’s got actual useful content…
— 434,442 ----
my $head = shift;
#Figure out who’s sending this message.

! foreach my $hdr (qw( Errors-To Reply-To From Sender )) {
# If there’s a header of that name
! my $headerobj = $head->get($hdr);
if ($headerobj) {
my ($addr, $name ) = ParseAddressFromHeader($headerobj);
# If it’s got actual useful content…

Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is

Hi,

I’ve just upgraded from RT2.0.0 to RT2.0.5 and I’m now getting
"compilation aborted" errors when sending email through rt-mailgate, as
follows:

----- Transcript of session follows -----

“my” variable $header masks earlier declaration in same statement at
/home/rt2/lib/RT/Interface/Email.pm line 439.
syntax error at /home/rt2/lib/RT/Interface/Email.pm line 437, near
"$header qw( Errors-To Reply-To From Sender )"
syntax error at /home/rt2/lib/RT/Interface/Email.pm line 446, near “}“
BEGIN failed–compilation aborted at /usr/adm/sm.bin/rt-mailgate line 31.
554 5.3.0 |”/home/rt2/bin/rt-mailgate --queue General --action
correspond”… unknown mailer error 255

This doesn’t look like the normal rt-mailgate configuration errors that
I’ve seen so far.
Please advise!

Thanks,

Tarren.

These errors came up right after upgrading:

“my” variable $header masks earlier declaration in same statement at /usr/local/rt2/lib/RT/Interface/Email.pm line 439.

syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 437, near “$header qw( Errors-To Reply-To From Sender )”

syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 446, near “}”

BEGIN failed–compilation aborted at /usr/local/rt2/bin/rt-mailgate line 31.

554 5.3.0 “|/usr/local/rt2/bin/rt-mailgate --queue ticket-prufa --action correspond”… unknown mailer error 255

I also upgraded right away to 2.0.5, but I can’t reproduce this bug.
Maybe it’s dependent on the version of Perl (5.6.1 in my install)?

Regards,

Martin

Martin Schapendonk, martin@schapendonk.org, Phone: +31 (0)6 55770237
Student Information Systems and Management at Tilburg University

I’m using 5.005_03.

I also noticed one thing wich puzzles me…I forgot to change the /usr/bin/perl
line in rt-mailgate to suidperl but that didn’t produce a single error.
After fixing that I still need the patch applied.

			OliOn Wed, 15 Aug 2001, Martin Schapendonk wrote:

On Wed, 15 Aug 2001, Olafur Osvaldsson wrote:

These errors came up right after upgrading:

“my” variable $header masks earlier declaration in same statement at /usr/local/rt2/lib/RT/Interface/Email.pm line 439.

syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 437, near “$header qw( Errors-To Reply-To From Sender )”

syntax error at /usr/local/rt2/lib/RT/Interface/Email.pm line 446, near “}”

BEGIN failed–compilation aborted at /usr/local/rt2/bin/rt-mailgate line 31.

554 5.3.0 “|/usr/local/rt2/bin/rt-mailgate --queue ticket-prufa --action correspond”… unknown mailer error 255

I also upgraded right away to 2.0.5, but I can’t reproduce this bug.
Maybe it’s dependent on the version of Perl (5.6.1 in my install)?

Regards,

Martin


Martin Schapendonk, martin@schapendonk.org, Phone: +31 (0)6 55770237
Student Information Systems and Management at Tilburg University


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

Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel: +354 525-5291
Email: oli@isnic.is

“OO” == Olafur Osvaldsson oli@isnic.is writes:

OO> I also noticed one thing wich puzzles me…I forgot to change the
OO> /usr/bin/perl line in rt-mailgate to suidperl but that didn’t
OO> produce a single error. After fixing that I still need the patch
OO> applied.

You should never invoke suidperl directly. Perl does that for you.

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

It appears that a perl 5.6ism snuck into the codebase.
The fix is pretty trivial.

Around line 437 of lib/RT/Interface/Email.pm, you should see the line

  foreach my $header qw( Errors-To Reply-To From Sender ) {

Replace it with the following line and tell me if it works for you.

  foreach my $header ('Errors-To', 'Reply-To', 'From', 'Sender' ) {

If this fixes things, I’ll roll 2.0.5_01 later today.On Wed, Aug 15, 2001 at 11:08:58AM +0100, Tarren wrote:

Hi,

I’ve just upgraded from RT2.0.0 to RT2.0.5 and I’m now getting
“compilation aborted” errors when sending email through rt-mailgate, as
follows:

----- Transcript of session follows -----

“my” variable $header masks earlier declaration in same statement at
/home/rt2/lib/RT/Interface/Email.pm line 439.
syntax error at /home/rt2/lib/RT/Interface/Email.pm line 437, near
“$header qw( Errors-To Reply-To From Sender )”
syntax error at /home/rt2/lib/RT/Interface/Email.pm line 446, near “}”
BEGIN failed–compilation aborted at /usr/adm/sm.bin/rt-mailgate line 31.
554 5.3.0 |“/home/rt2/bin/rt-mailgate --queue General --action
correspond”… unknown mailer error 255

This doesn’t look like the normal rt-mailgate configuration errors that
I’ve seen so far.
Please advise!

Thanks,

Tarren.


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

I admit that X is the second worst windowing system in the world, but all the
others I’ve used are tied for first.

It appears that a perl 5.6ism snuck into the codebase.
The fix is pretty trivial.

Around line 437 of lib/RT/Interface/Email.pm, you should see the line

  foreach my $header qw( Errors-To Reply-To From Sender ) {

Replace it with the following line and tell me if it works for you.

  foreach my $header ('Errors-To', 'Reply-To', 'From', 'Sender' ) {

If this fixes things, I’ll roll 2.0.5_01 later today.

Yes, Changing line 437 as detailed above seems to cure the problem for
me!

Thanks.

Tarren.