Rt 3.8.2 rc1

The first release candidate for RT 3.8.2 is now available. You can
download it from:

http://download.bestpractical.com/pub/rt/devel/rt-3.8.2rc1.tar.gz
http://download.bestpractical.com/pub/rt/devel/rt-3.8.2rc1.tar.gz.sig

SHA1 sums

6de80d82be00ba5057c9ac02ee15b0f73b8c9ef8 rt-3.8.2rc1.tar.gz
39d19b25e8aeee728380e4d3520e5cb5c7fac2a0 rt-3.8.2rc1.tar.gz.sig

A longer changelog if available at the bottom of this announcement.
Some highlighted changes include:

  • Approvals System Overhaul
  • Dashboards Overhaul, including the ability to include more
    types of portlets and a new subscription type
  • Upgrades to the mysql schema upgrade script, now named
    upgrade-mysql-schema.pl If you’re planning an upgrade from
    a version of RT prior to 3.8, please read UPGRADING.mysql
  • Many localization cleanups
  • Fixes to HTML mail generation and the handling of mixed/alternative
    messages. The WYSIWYG editor was also upgraded. See
    docs/templates.pod for more about generating HTML mail.
  • complete reimplementation of sbin/rt-validator for checking
    integrity of the DB

-kevin

Changelog:

New features:

  • complete reimplementation of sbin/rt-validator for checking integrity
    of the DB [ruz]

  • add UseSQLForACLChecks option - no more wrong numbers in search
    results,
    no more missing entries on pages, no more empty pages, but only if
    your
    DB can handle such queries [ruz]

  • add sbin/rt-attributes-viewer that helps sometimes investigate
    problems [ruz]

  • break out the Logout link into an Element so you can override it
    [falcone]

  • Allow %ARGS to set custom field values in SelfService [alexmv]

  • A new callback for successful login via WebExternalAuth [sartak]

  • A new callback in Ticket/Create.html [alexmv]

  • show how often user recieves messages on a ticket [ruz]

  • REST improvements - Queue ticket CFs, Queue CFs, Group management,
    Attachments [Philip Kime]

  • Allow optional # before ticket ID in simple search [alexmv]

  • Add callbacks for the themes’ main stylesheets

  • Allow group charts by users’ Organization and other fields [ruz]

  • Allow change of Requestor in QuickCreate [elacour]

  • revert cleanup from require/our @ISA to use base because it breaks
    RT running under fastcgi/mod_perl

  • Cleanup Dashboard internals and unify with Saved Searches [sartak]

  • Allow homepage components to be used on Dashboards [sartak]

  • Add support for “every X weeks” Dashboard subscriptions [sunnvy]

  • Cleanup and refactor the localization infrastructure [clkao, elacour]

  • Add new global Config option MessageBoxIncludeSignature to control
    whether signatures are included in Replies and Comments [falcone]

  • Handle dates and Custom Fields when redirecting to Ticket/
    Display.html [sartak]

  • Name the Submit button on Ticket modification pages and clean up
    [sartak]

  • Support for parallel testing (make test-parallel) and fixes for Pg
    when running
    in parallel [ruz falcone]

  • Support for running automated tests on Oracle [ruz]

  • add an Initial callback to the homepage [ruz]

  • New callback on search results to add new tools [elacour]

  • Instructions for starting to port to windows [sunnavy]

  • Add custom Transaction display for Told [sunnavy]

  • Add ShowApprovalsTab right to control who sees the
    Approvals links [elacour]

  • Approvals System Overhaul [clkao]

  • Allow setting colspan in formats [sartak Olly Stephens]

  • Documentation of Template variables [sartak]

  • New Callback in ParseFormat [sartak Eynat Nir Mishor]

  • for rt-mailgate, if --action correspond --extension action
    is specifict, fall back to correspond for emails without an
    extension [sartak Jerrad Pierce]

  • Command line enhancements [alexmv Wolfgang Friebel]

  • Support HTML for MakeClicky [sunnavy]

Fixes and cleanups

  • Documentation fixes and improvements here and there [all]

  • Set default LogToSysLog to ‘info’ instead of ‘debug’ [sunnavy]

  • Fix file names corruption when attaching files with international
    character
    via UI [ruz]

  • Fix attaching attachments to outgoing mails in RT on Oracle DB [joop]

  • Various improvements in web installer [sunnavy]

  • CSS fixes [sunnavy, elacour]

  • Pg has support for USAGE privilege on sequences only starting
    from Pg 8.2.0, improve etc/acl.Pg* [ruz]

  • Don’t do the safe ipc hack for SpeedyCGI [Niko Tyni]

  • rewrite displaying message stanza without recursion to avoid
    problems with deep recursion errors and improve performance [ruz]

  • fix double BRs in ticket history [ruz]

  • fix minor tags dis-balance [Olly Stephens]

  • partially make Shredder’s pages translatable [ruz]

  • fix issue when schema upgrade script could generate ALTER TABLE …
    BLOB CHARACTER SET … [ruz]

  • Don’t attach html parts of mixed/alternative messages [alexmv]

  • Fix printing by updating print.css [Ian Goodacre, elacour]

  • Updated sbin/factory [Hans Dieter, sartak]

  • Fixes for localization of RT [elacour, sartak, clkao, falcone]

  • Fix missed “/” that makes header links on RT at a glance unclickable
    when
    WebPath is non-empty [elacour]

  • fix for CustomField’s LoadByName to be backward compatible [sunnavy]

  • fix a nasty copy&paste typo that’s been there for a while
    forcing admins to grant CreateTicket right to everyone even if
    they want to do that for unprivileged users only [ruz]

  • don’t bother checking for data/gpg if the
    user explicitly turned gpg off [falcone]

  • Handle the case where you enable GPG but haven’t
    created the data directory. We should probably just
    create the directory for you. [falcone]

  • fix AJAX bookmarking in IE [sunnavy]

  • fix REST/CLI when there is a type field [Philip Kime]

  • return error earlier if parsing of a template failed [falcone]

  • Fix for CF matching in the REST interface [Tony Lambiris]

  • allow tags used by the WYSIWYG editor to pass through so that
    when you use bold font in a message, you see it in the RT view.
    [falcone]

  • fix problems with loading of FCKeditor in IE [falcone]

  • Plugin loading fixes for modules such as User [falcone]

  • Pass more information to Ticket/Update.html’s Initial callback [ruz]

  • Better signal handling for gpg [ruz]

  • Fix test’s database username to avoid going over length limits on
    mysql [ruz]

  • Fix search results RSS feed to show correct Time and Creator [clkao]

  • Refactor maildigest tests [sunnavy]

  • Use information_schema in upgrade-mysql-schema.pl on newer mysqls
    [ruz]

  • Sort right names using localized values [ruz]

  • Trim leading or trailing whitespace in for simple search [elacour]

  • Add documentation of rt-setup-database --action upgrade [elacour
    Trent W Buck]

  • Clean up display of Custom Field Values during editing [elacour]

  • Update documentation about upgrade-mysql-schema.pl and give it a
    better name [sartak falcone]

  • Updated de translation from Torsten Brumm

  • Don’t create empty Deferred Attributes [ruz]

  • Fix grouping by watchers on graphs [ruz]

  • Show EmailAddress not id of requestor when using Quick Create [ruz]

  • Validate mandatory custom fields on SelfService [elacour ruz]

  • Upgrade FCKeditor to version 2.6.3 [falcone]

  • Add configuration variables for size of FCKeditor [falcone]
    MessageBoxRightTextHeight MessageBoxRightTextWidth

  • Reorder and document adding a new config option to META
    in Config.pm [falcone]

  • Make config options explicitly sorted [falcone]

  • Switch to using WebPath from WebURL for portlet links [clkao]

  • Cleanup GPG tempfiles [alexmv]

  • Use StashWarnings in tests to clean up lots of warnings [sartak]

  • Remove unused gradient-glossy.png [sunnavy]

  • Use ActiveStatus rather than hardcoded values in more of the
    homepage portlets [elacour ruz]

  • Stop mason from compiling images [Hans Dieter Percy]

  • Make the default RT font Arial [falcone jesse]

  • Fix gpg passphrase handling to support gpg 1.2 [ruz]

  • Properly downgrade HTML templates to multipart alternative
    text/plain and text/html [falcone]

  • Warn when a callback exists in two extensions and only one
    of them will be run [falcone]

  • Avoid “Not LIKE ‘’” on Oracle BLOBs [ruz]

  • Prefer the SERVER_HOST environment variable for generating uris over
    HTTP_HOST [sartak Niko Tyni]

  • quiet test output [alexmv]

Dependencies:

  • newer Text::Template which claims to have fixed the T:: cleanup,
    otherwise
    scrips in batch stage may be delayed [sartak]

  • Add dependency on Test::HTTP::Server::Simple::StashWarnings [sartak]

PGP.sig (194 Bytes)

I’m getting reports from some of my IE users that the WYSIWYG editor
doesn’t want to accept input.

Mark Roedel
Senior Programmer/Analyst - Web Services
LeTourneau University-----Original Message-----
From: rt-devel-bounces@lists.bestpractical.com
[mailto:rt-devel-bounces@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Tuesday, December 16, 2008 2:33 PM
To: rt-devel@lists.bestpractical.com
Subject: [Rt-devel] RT 3.8.2 RC1

The first release candidate for RT 3.8.2 is now available. You can
download it from:

I’m getting reports from some of my IE users that the WYSIWYG editor
doesn’t want to accept input.

Unfortunately, we weren’t able to reproduce this on IE6 or IE7

-kevin

Unfortunately, we weren’t able to reproduce this on IE6 or IE7

In case you care about that test target, Beta 2 of IE 8 has been
released today.

Richard

I ran into a problem while upgrading RT3.8.1 to 3.8.2 RC1.

If you install RT3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01 you won’t
be able to login and ExternalAuth contains a bug fix that is now
included in RT3.8.2.

If you receive this problem delete/rename the following file:
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAut
h/autohandler/Auth

This fixed my problem and everything looks to be working fine.

Alex Young wrote:

I ran into a problem while upgrading RT3.8.1 to 3.8.2 RC1.

If you install RT3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01 you won’t
be able to login and ExternalAuth contains a bug fix that is now
included in RT3.8.2.

If you receive this problem delete/rename the following file:
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAut
h/autohandler/Auth

This fixed my problem and everything looks to be working fine.

But will completely break ExternalAuth

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Really? It seems to be working for me? I have successfully logged in
using several LDAP users and haven’t found any faults yet.

Rt.log isn’t showing any errors, but does show a warning:
[Wed Dec 17 13:03:29 2008] [warning]: Use of uninitialized value $_[4]
in join or string at /usr/local/share/perl/5.10.0/Log/Dispatch.pm line
21, line 514.
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAut
h/LDAP.pm:136)

Is there a better way for me to fix this then?From: mpeac@jennic.com [mailto:mpeac@jennic.com] On Behalf Of Mike
Peachey
Sent: 17 December 2008 12:51
To: Alex Young
Cc: RT Users
Subject: Re: [rt-users] RT 3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01

Alex Young wrote:

I ran into a problem while upgrading RT3.8.1 to 3.8.2 RC1.

If you install RT3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01 you
won’t
be able to login and ExternalAuth contains a bug fix that is now
included in RT3.8.2.

If you receive this problem delete/rename the following file:

/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAut

h/autohandler/Auth

This fixed my problem and everything looks to be working fine.

But will completely break ExternalAuth

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Alex Young wrote:

Really? It seems to be working for me? I have successfully logged in
using several LDAP users and haven’t found any faults yet.

Rt.log isn’t showing any errors,

Because you’re not calling any LDAP/ExternalAuth code…

Is there a better way for me to fix this then?

Can you provide the original errors?

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Hi Mike.

Rt.log contents:

[Wed Dec 17 13:36:28 2008] [error]: Working around bug in RT and
reloading RT::User
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:12)
[Wed Dec 17 13:36:28 2008] [debug]: $pass defined (CorrectPasswordHere),
Running IsPassword
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:69)
[Wed Dec 17 13:36:28 2008] [debug]: Password Incorrect
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:74)
[Wed Dec 17 13:36:28 2008] [error]: FAILED LOGIN for ayoung from
10.1.1.108 (/opt/rt3/share/html/autohandler:268)From: mpeac@jennic.com [mailto:mpeac@jennic.com] On Behalf Of Mike
Peachey
Sent: 17 December 2008 13:12
To: Alex Young
Cc: RT Users
Subject: Re: [rt-users] RT 3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01

Alex Young wrote:

Really? It seems to be working for me? I have successfully logged in
using several LDAP users and haven’t found any faults yet.

Rt.log isn’t showing any errors,

Because you’re not calling any LDAP/ExternalAuth code…

Is there a better way for me to fix this then?

Can you provide the original errors?

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Alex Young wrote:

Hi Mike.

Rt.log contents:

[Wed Dec 17 13:36:28 2008] [error]: Working around bug in RT and
reloading RT::User
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:12)
[Wed Dec 17 13:36:28 2008] [debug]: $pass defined (CorrectPasswordHere),
Running IsPassword
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:69)
[Wed Dec 17 13:36:28 2008] [debug]: Password Incorrect
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu
th/autohandler/Auth:74)
[Wed Dec 17 13:36:28 2008] [error]: FAILED LOGIN for ayoung from
10.1.1.108 (/opt/rt3/share/html/autohandler:268)

O_o

Pretty useless I’m afraid. No idea what would be different between 3.8.1
and 3.8.2 that would break the password check… assuming the password it
correct.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Yeah, the password is correct. If I put an incorrect one in, it displays
the exact same message.

Anything else I can do to give you somethign useful to work with?

Auth change in the changelog for 3.8.2 is this:

  • A new callback for successful login via WebExternalAuth [sartak]From: mpeac@jennic.com [mailto:mpeac@jennic.com] On Behalf Of Mike
    Peachey
    Sent: 17 December 2008 13:42
    To: Alex Young
    Cc: RT Users
    Subject: Re: [rt-users] RT 3.8.2 RC1 and RT-Authen-ExternalAuth 0.07_01

Alex Young wrote:

Hi Mike.

Rt.log contents:

[Wed Dec 17 13:36:28 2008] [error]: Working around bug in RT and
reloading RT::User

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu

th/autohandler/Auth:12)
[Wed Dec 17 13:36:28 2008] [debug]: $pass defined
(CorrectPasswordHere),
Running IsPassword

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu

th/autohandler/Auth:69)
[Wed Dec 17 13:36:28 2008] [debug]: Password Incorrect

(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAu

th/autohandler/Auth:74)
[Wed Dec 17 13:36:28 2008] [error]: FAILED LOGIN for ayoung from
10.1.1.108 (/opt/rt3/share/html/autohandler:268)

O_o

Pretty useless I’m afraid. No idea what would be different between 3.8.1
and 3.8.2 that would break the password check… assuming the password it
correct.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Pretty useless I’m afraid. No idea what would be different between 3.8.1
and 3.8.2 that would break the password check… assuming the password it
correct.

Mike, I just ran into the same bug. The problem is with the code on
top of autohandler/Auth that try to reload RT::User. It reloads it
without User_Vendor.pm from this plugin and so the old IsPassword is
called. I commented this code and my ldap auth is working again.

I run a version of RT pre 3.8.2rc1 (checkout on 20081024).

— /opt/rt/src/RT-Authen-ExternalAuth-0.07_01/html/Callbacks/ExternalAuth/autohandler/Auth 2008-11-06 21:40:34.000000000 +0100
+++ plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth 2008-12-17 16:58:34.000000000 +0100
@@ -8,13 +8,13 @@

Work around a bug in the RT 3.8.0 and 3.8.1 plugin system (fixed in 3.8.2)

Temporarily force RT to reload RT::User, since it isn’t being loaded

correctly as a plugin.

-unless ($loaded_user) {

  • $RT::Logger->error(“Working around bug in RT and reloading RT::User”);
  • $loaded_user++;
  • delete $INC{‘RT/User.pm’};
  • delete $INC{‘RT/User_Overlay.pm’};
  • require RT::User;
    -}
    +#unless ($loaded_user) {
    +# $RT::Logger->error(“Working around bug in RT and reloading RT::User”);
    +# $loaded_user++;
    +# delete $INC{‘RT/User.pm’};
    +# delete $INC{‘RT/User_Overlay.pm’};
    +# require RT::User;
    +#}

If the user is logging in, let’s authenticate; if they can auth but don’t load

Emmanuel Lacour wrote:> On Wed, Dec 17, 2008 at 01:42:23PM +0000, Mike Peachey wrote:

Pretty useless I’m afraid. No idea what would be different between 3.8.1
and 3.8.2 that would break the password check… assuming the password it
correct.

Mike, I just ran into the same bug. The problem is with the code on
top of autohandler/Auth that try to reload RT::User. It reloads it
without User_Vendor.pm from this plugin and so the old IsPassword is
called. I commented this code and my ldap auth is working again.

I run a version of RT pre 3.8.2rc1 (checkout on 20081024).

Huh. That code was supposed to be designed to only get issued if it’s
needed :confused: or wa that taken out… I can’t remmeber?

TBH I’m tempted to replace it with a hardcoded version check because
it’s ONLY required for 3.8.0 and 3.8.1

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Emmanuel Lacour wrote:

Pretty useless I’m afraid. No idea what would be different between
3.8.1
and 3.8.2 that would break the password check… assuming the
password it
correct.

Mike, I just ran into the same bug. The problem is with the code on
top of autohandler/Auth that try to reload RT::User. It reloads it
without User_Vendor.pm from this plugin and so the old IsPassword is
called. I commented this code and my ldap auth is working again.

I run a version of RT pre 3.8.2rc1 (checkout on 20081024).

Huh. That code was supposed to be designed to only get issued if it’s
needed :confused: or wa that taken out… I can’t remmeber?

TBH I’m tempted to replace it with a hardcoded version check because
it’s ONLY required for 3.8.0 and 3.8.1

Or all the code could go live in RT::Authen::ExternalAuth with a package
statement and avoid the entire loading problem.

-kevin