Znuny 6.0.31 problem with ckeditor and login

Moderator: crythias

Post Reply
nilskm
Znuny newbie
Posts: 19
Joined: 29 Sep 2010, 09:50
Znuny Version: 6.0.30
Real Name: Nils

Znuny 6.0.31 problem with ckeditor and login

Post by nilskm »

I just upgraded to the brand new Znuny 6.0.31 rpm package on centos 7 (from 6.0.30). After that when I'm replying to a ticket the html text is shown as text and not like html.

I checked the setting for ckeditor and it was set to 4.7.0 wich is wrong, the lib doesn't even exist. So I did a reset and it changed to 4.15.1. But after that nothing works anymore in otrs, I can't open a ticket, the queues are gone. If I try to login in a different session the login button is greyed out. I tried to delete cache, restart server, set permissions but it made no difference.

If I manually change back to 4.7.0 in Kernel/Config/Files/ZZZAAuto.pm I can access login again and change the settings again and change back to 4.7.0. But then the first problem is back again (of course).

I have no idea what to do, can anybody help me?
root
Administrator
Posts: 3963
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Znuny 6.0.31 problem with ckeditor and login

Post by root »

Hi,

Were working on this issue. As a workaround, you can set the System Configuration Loader::Enabled::JS to 0
The minifying used in 6.0.30 has issues with the updated CKEditor. In addition to this, there is a new CVE for the CKEditor from Tuesday we have to cheeck (see https://ckeditor.com/cke4/release-notes).

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
nilskm
Znuny newbie
Posts: 19
Joined: 29 Sep 2010, 09:50
Znuny Version: 6.0.30
Real Name: Nils

Re: Znuny 6.0.31 problem with ckeditor and login

Post by nilskm »

Thanks for the answer, I think I just wait for the fix then :-)
nilskm
Znuny newbie
Posts: 19
Joined: 29 Sep 2010, 09:50
Znuny Version: 6.0.30
Real Name: Nils

Re: Znuny 6.0.31 problem with ckeditor and login

Post by nilskm »

The fix, as proposed by skullz, actually works,
https://github.com/znuny/Znuny/issues/6

So just open
var/httpd/htdocs/js/thirdparty/ckeditor-4.15.1/ckeditor.js

search for "indexOf("file://")" and replace it with "indexOf("file:\/\/")"

Probably also run "su -c "./bin/otrs.Console.pl Maint::Loader::CacheCleanup" -s /bin/bash otrs "
but it worked without that for me.
Post Reply