RT 4.4.0rc2 released

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256,SHA1

RT 4.4.0rc2 – 2015-11-20

RT 4.4.0rc2 is now available for testing.

https://download.bestpractical.com/pub/rt/devel/rt-4.4.0rc2.tar.gz
https://download.bestpractical.com/pub/rt/devel/rt-4.4.0rc2.tar.gz.asc

SHA1 sums

768e34e20d60e65090144097552ea753c88041f1 rt-4.4.0rc2.tar.gz
e6b0111f0b469e90657a044b3d4658d45af8b89b rt-4.4.0rc2.tar.gz.asc

Changes:

  • Unify our documentation for upgrading cored extensions

  • Copy rt-ldapimport into install-tree sbin

  • Fix mismerge of _DurationAsString causing Time Worked on search results to
    cause errors

  • Avoid returning undef for default catalog which causes users with no
    ShowCatalog rights to see errors

  • Avoid undef warnings when upgrading dashboards for Quicksearch → QueueList

  • Fix occasional failure of t/ldapimport/user-import.t due to user ID numbers

  • Fix t/externalauth/obfuscate-password.t failure of My_DBI being removed from
    ExternalServices due to “db” vs “dbi”

  • Remove lingering calls to removed ->screendebug

  • Switch example for @Plugins in RT_Config from ExternalAuth to JSGantt

  • Render “HeldBy” assets role as “Held By”

  • Update translations for: Basque, Bulgarian, Catalan, Simplified and
    Traditional Chinese, Croatian, Czech, Danish, Dutch, Estonian, Finnish,
    French, German, Greek, Hungarian, Icelandic, Indonesian, Italian, Japanese,
    Latvian, Lithuanian, Norwegian (Bokmal and Nynorsk), Persian, Polish,
    Portuguese, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, and
    Turkish.

A complete changelog is available from git by running:
git log rt-4.4.0rc1…rt-4.4.0rc2
or visiting
Comparing rt-4.4.0rc1...rt-4.4.0rc2 · bestpractical/rt · GitHub

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iF4EAREIAAYFAlZPf2AACgkQAV8paoxIrb37cQD8DYENeE1lRV76OHrMb5tigPRb
5w7c3xMTslf24lx7nv8BANY8yrFm4ZCn1KUJnirGj8jek6DULlDIyQBC3RBlStQy
iQIcBAEBAgAGBQJWT39gAAoJEDdW4lQxRAUgOmkP/RNmakK8aPfsYYPyjpfWY8kc
U2WH/YoneggICBXsIBcj0MR23Cbm0ODUH+KXzbshjA+cfm02Ybr7dezf1eFCZH4S
dIsY1v4vHm3ssRMDDVr3SobDhUhSRGAjnQ1sS49t5u7Tj2qeHt1yAd7ZX2HLRhVU
MVTMfeCxQ0TPPpo3gsKHSPdhq4E61UViTW0V2IbkNjvuDGmG8zaPUQtNBdItVj3N
MgoijfrFOVbykU8uMHc27RXx3JRXJo4ZTA8WRlE5ZyUaaytFPTbRbaYCHpufu5tY
hyjtdKNwqtGGZC+JNKPZmbOb4WV1FHbXJqGDHYsH8tTsSTwWKBr2azpcbYEm3op5
IzSk2+eQSCtdRVT0NFG39CytVm8A50P+FBfk5fUxucte9Dpx7absRT6h/pVtouMt
qgwLFkKS5UhkXenEixC2SBPS0jWFgAFh50zAYXJottGn9IltKD3dS1f/4OvwCwdt
F2vuOz63j15Tl0lNG8UMcK+UIFZlWy++KjEUfPb26DZ5hxn2hSB1A7/eCNclMh7F
6EOpIerCMYvS28FtmSvYRwZtY7n6bnxt23fNIw9vuTfBl2g22RWowzaY5RPAHKDH
M61JRBr4OykNmE1QpGpi2Yju0UxNnoQd3sHlJJSKEirkv2cUiwBD8t36M3DUfRhj
FW68OmfM7bTQws5h/B62
=AfHH
-----END PGP SIGNATURE-----

Hi

I just did fresh install of 4.4.0rc2 (no upgrade).

Is it a feature that during ticket reply
(/Ticket/Update.html?Action=Respond) with HTML editor
(MessageBoxRichText == 1) I see “Scrips and Recipients” -list
getting populated, but not with plain text editor (MessageBoxRichText == 0) ?

Access log shows in HTML editor case that I do get
HTTP GET request to /Helpers/PreviewScrips, but not in
plain editor case.

Have a nice day, 4.4 feels awesome!

Mikko Lehto

Hi

I just did fresh install of 4.4.0rc2 (no upgrade).

Is it a feature that during ticket reply
(/Ticket/Update.html?Action=Respond) with HTML editor
(MessageBoxRichText == 1) I see “Scrips and Recipients” -list
getting populated, but not with plain text editor (MessageBoxRichText == 0) ?

There may be some errors in JS console in your browser.

-m

There may be some errors in JS console in your browser.

Hi Matt, thanks for the kick in right direction!

Now I see this with XHR logging and Javascript errors enabled:
GET http://rt.domain/Ticket/Update.html [HTTP/1.1 200 OK 501ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/js/squished-bf4b1701ea2422a43504908c42d926d9.js [HTTP/1.1 200 OK 0ms]
TypeError: CKEDITOR.instances.UpdateContent is undefined Update.html:557:7
GET http://rt.domain/static/images/favicon.png [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]

Browser is Firefox 40.0.3
(Mozilla/5.0 (X11; FreeBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.0)

Update.html line 557 is:
554:
555: jQuery( function() {
556: var updateScrips = function() {
557: CKEDITOR.instances[‘UpdateContent’].updateElement();
558: var syncCheckboxes = function(ev) {
559: var target = ev.target;
560: jQuery(“input[name=TxnSendMailTo]”).filter( function() {
561: return this.value == target.value; }
562: ).prop(“checked”,jQuery(target).prop(‘checked’));
563: };

Unfortunately I lack Javascript skills to track properly where CKEDITOR
is loaded or initialised.

Anyway, still seems to be related somehow to scrips, so I guess it’s
learning time for me. Some pointers ofcourse still appreciated.

Mikko Lehto

Hi Mikko,

Thank you for testing the RC and for reporting this issue :)On 2015年11月23日 at 11:29:09, Mikko Lehto (mslehto@iki.fi) wrote:

TypeError: CKEDITOR.instances.UpdateContent is undefined Update.html:557:7

I see this error, and the symptoms it causes, too. I’ve created a ticket for tracking this: Login

Mikko Lehto

Cheers!
Shawn

Hi Shawn,

I can confirm that following commit fixes issue I encountered:
commit f9682294d772799aa23ecb44948a3bbea0282b30
Author: Shawn M Moore shawn@bestpractical.com

Handle non-ckeditor for syncing scrips

    Fixes: I#31507

I tested both values (0/1) in RT_SiteConfig.pm / $MessageBoxRichText.

Thanks a lot!

Mikko Lehto

Hi,

the CKEditor in RT 4.4 (and also RT 4.2) is missing formatting for e.g.
code.
I think it is not uncommon to paste code in a reply or comment,
especially on rt.cpan.org.

The Styles Combo [1] plugin provides a drop-down with some formatting of
this kind. Is the any reason why this was excluded from the plugin list?
This plugin is actually included in the CKEditor preset plugin list.

Chris

[1] Styles Combo | CKEditor.com