Page 1 of 1

CKEditor wrong URL encoding

Posted: 30 Jul 2018, 12:53
by grupoiwi
I am trying to incorporate CKEditor (Primefaces Extensions) to my project to replace p:editor. The problem is that when loading the page shows the following error in the browser console:

Error: [CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://localhost:8080/proyecto/javax.fa ... =6.2&v=6.2".

Should be:
http://localhost:8080/proyecto/javax.fa ... =6.2&v=6.2
Instead of (add .2 after styles.js):
http://localhost:8080/proyecto/javax.fa ... =6.2&v=6.2

I'm using Tomcat 8.5.12. I created a new Java EE 7 project and loading the libraries worked perfectly. My current project is old and although we have been updating libraries, it is developed in Java EE 5. Could this be the problem?

That could be happening? Thank you.

Re: CKEditor wrong URL encoding

Posted: 31 Jul 2018, 13:36
by Melloware
Is your old project in EE5 Tomcat also? Can you post a list of all the libraries found in WEB-INF/lib?

Re: CKEditor wrong URL encoding

Posted: 31 Jul 2018, 20:09
by Melloware
I just created a patched JAR for you to test so I can help debug the issue: https://github.com/primefaces-extension ... issues/600

Re: CKEditor wrong URL encoding

Posted: 03 Aug 2018, 13:17
by Melloware
Thanks for testing! This bug has been fixed and will be in 6.2.8 and higher versions of Primefaces Extensions.

Re: CKEditor wrong URL encoding

Posted: 07 Aug 2018, 08:39
by grupoiwi
Melloware wrote:
03 Aug 2018, 13:17
Thanks for testing! This bug has been fixed and will be in 6.2.8 and higher versions of Primefaces Extensions.
Thanks to you for your quick response.