1
votes

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.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2".

Should be: http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.xhtml?ln=primefaces-extensions&v=6.2&v=6.2

Instead of (add .2 after styles.js): http://localhost:8080/proyecto/javax.faces.resource/ckeditor/styles.js.2.xhtml?ln=primefaces-extensions&v=6.2&v=6.2

<pe:ckEditor id="editText" widgetVar="editText" value="#{accomunicaciones.correoSeleccionado.cuerpo}">  
    <p:ajax event="save" update="growl"/>  
</pe:ckEditor>  

That could be happening? Thank you.

1
Try the newest version: search.maven.org/… - tandraschko
Hi tandraschko, first I tried with the latest version. Then I put the same version I had of primefaces. Give the same error. - Gerardo
You should also double check your classpath. As you got the "v=6.2" two times, i think also have PFE two times in your classpath. - tandraschko
What server and version are you using? There must be something in common as 2 users have now reported this but I can't reproduce locally or on the showcase? - Melloware

1 Answers

0
votes

This is a bug so it has been reported to the PFE GitHub page.

There is a patched 6.2.7.jar in that link that fixes the problem.

This is fixed in PFE 6.2.8+. Thanks for reporting!