Rich text editor disabled after update to 4.2.4

Hello mailing list,

I have updated my RT installation to 4.2.4 just this Friday, and now we have noticed that the rich text editor seems to no longer be working. When I reply to a ticket it shows the quoted text like before, but now it is a garbled mess of HTML as it is not translating properly. Does anyone have any idea what’s going on?

Thank you,

Bob Shaker | Co-op IT analyst
Arden Companies | Bombay Outdoors
30400 Telegraph Rd, Suite 200, Bingham Farms, MI 48025
ArdenCompanieshttp://www.ardencompanies.com/.com BombayOutdoors.com http://bombayoutdoors.com/

[cid:image001.jpg@01CF7432.56E97140]

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.

Also, the chrome console reveals this, which I did not notice before.

event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught TypeError: Cannot read property ‘MessageBoxRichTextHeight’ of undefined squished-884af658b44cdd5c585766ea0a0518ba.js:2403From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Robert Shaker
Sent: Tuesday, May 20, 2014 1:51 PM
To: rt-users@bestpractical.com
Subject: [rt-users] Rich text editor disabled after update to 4.2.4

Hello mailing list,

I have updated my RT installation to 4.2.4 just this Friday, and now we have noticed that the rich text editor seems to no longer be working. When I reply to a ticket it shows the quoted text like before, but now it is a garbled mess of HTML as it is not translating properly. Does anyone have any idea what’s going on?

Thank you,

Bob Shaker | Co-op IT analyst
Arden Companies | Bombay Outdoors
30400 Telegraph Rd, Suite 200, Bingham Farms, MI 48025
ArdenCompanieshttp://www.ardencompanies.com/.com BombayOutdoors.com http://bombayoutdoors.com/

[cid:image001.jpg@01CF7433.DC5D4D50]

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.

You can inspect that file with some “web-developement tool” in your browser,
look on the given line 2403 and then try to identify the .js file from where
that line originate (squished .js file contains all .js files that RT uses,
merged together). This should help you figure out to what is this property
attached.

btw

RT_SiteConfig.pm

Set($MessageBoxRichTextHeight, 400);

-mJFrom: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Robert Shaker
Sent: Tuesday, May 20, 2014 8:01 PM
To: rt-users@bestpractical.com
Subject: Re: [rt-users] Rich text editor disabled after update to 4.2.4

Also, the chrome console reveals this, which I did not notice before.

event.returnValue is deprecated. Please use the standard
event.preventDefault() instead.

Uncaught TypeError: Cannot read property ‘MessageBoxRichTextHeight’ of
undefined squished-884af658b44cdd5c585766ea0a0518ba.js:2403

From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Robert Shaker
Sent: Tuesday, May 20, 2014 1:51 PM
To: rt-users@bestpractical.com
Subject: [rt-users] Rich text editor disabled after update to 4.2.4

Hello mailing list,

I have updated my RT installation to 4.2.4 just this Friday, and now we have
noticed that the rich text editor seems to no longer be working. When I
reply to a ticket it shows the quoted text like before, but now it is a
garbled mess of HTML as it is not translating properly. Does anyone have any
idea what’s going on?

Thank you,

Bob Shaker | Co-op IT analyst

Arden Companies | Bombay Outdoors

30400 Telegraph Rd, Suite 200, Bingham Farms, MI 48025

http://www.ardencompanies.com/ ArdenCompanies.com
http://bombayoutdoors.com/ BombayOutdoors.com

cid:image001.jpg@01CF49DF.644DF900

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus
Server.

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus
Server.

Resolved.

I managed to fix this by basically cleaning out my /opt/rt4/local/html/Elements/Header file.

As it turns out, the header in 4.2.4 is loading the JS for the rich text editor, and this was being overwritten by my old version of the file.From: Martin Janíček [mailto:martin.janicek@riomedia.cz]
Sent: Wednesday, May 21, 2014 3:38 AM
To: Robert Shaker; rt-users@bestpractical.com
Subject: RE: [rt-users] Rich text editor disabled after update to 4.2.4

You can inspect that file with some “web-developement tool” in your browser, look on the given line 2403 and then try to identify the .js file from where that line originate (squished .js file contains all .js files that RT uses, merged together). This should help you figure out to what is this property attached.

btw

RT_SiteConfig.pm
Set($MessageBoxRichTextHeight, 400);

-mJ

From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Robert Shaker
Sent: Tuesday, May 20, 2014 8:01 PM
To: rt-users@bestpractical.commailto:rt-users@bestpractical.com
Subject: Re: [rt-users] Rich text editor disabled after update to 4.2.4

Also, the chrome console reveals this, which I did not notice before.

event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught TypeError: Cannot read property ‘MessageBoxRichTextHeight’ of undefined squished-884af658b44cdd5c585766ea0a0518ba.js:2403

From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Robert Shaker
Sent: Tuesday, May 20, 2014 1:51 PM
To: rt-users@bestpractical.commailto:rt-users@bestpractical.com
Subject: [rt-users] Rich text editor disabled after update to 4.2.4

Hello mailing list,

I have updated my RT installation to 4.2.4 just this Friday, and now we have noticed that the rich text editor seems to no longer be working. When I reply to a ticket it shows the quoted text like before, but now it is a garbled mess of HTML as it is not translating properly. Does anyone have any idea what’s going on?

Thank you,

Bob Shaker | Co-op IT analyst
Arden Companies | Bombay Outdoors
30400 Telegraph Rd, Suite 200, Bingham Farms, MI 48025
ArdenCompanieshttp://www.ardencompanies.com/.com BombayOutdoors.com http://bombayoutdoors.com/

[cid:image001.jpg@01CF7502.5618E450]

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.

ARDEN
A Global Company
Celebrating over 50 years of making your life more comfortable!

This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.

This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.