enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

HTMLArea GUI does not appear #6493

Closed ComLock closed 6 years ago

ComLock commented 6 years ago

In the browser console I get these errors:

GET http://localhost:8080/admin/_/asset/com.enonic.xp.app.contentstudio/admin/common/lib/ckeditor/lang/nb.js?t=HBDD 404 (Not Found)
append @ _all.js:31870
appendTo @ _all.js:31844
B @ _all.js:32023
load @ _all.js:32023
load @ _all.js:32021
r @ _all.js:32038
(anonymous) @ _all.js:32038
b @ _all.js:32287
loadPart @ _all.js:32289
m @ _all.js:32038
(anonymous) @ _all.js:32038
m @ _all.js:31782
(anonymous) @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fire @ _all.js:31785
fireOnce @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fireOnce @ _all.js:31785
k @ _all.js:32036
(anonymous) @ _all.js:32036
callback @ _all.js:32024
e @ _all.js:32022
y @ _all.js:32022
x @ _all.js:32022
(anonymous) @ _all.js:32023
setTimeout (async)
B.CKEDITOR.env.ie.e.$.onload @ _all.js:32023
load (async)
B @ _all.js:32023
load @ _all.js:32023
a @ _all.js:32024
(anonymous) @ _all.js:32024
k @ _all.js:32036
g @ _all.js:32038
(anonymous) @ _all.js:32034
(anonymous) @ _all.js:31800
setTimeout (async)
setTimeout @ _all.js:31800
a @ _all.js:32034
CKEDITOR.inline @ _all.js:32116
HTMLAreaBuilderCKE.createEditor @ _all.js:1
TextComponentViewCK.doInitEditor @ _all.js:1
TextComponentViewCK.initEditor @ _all.js:1
TextComponentViewCK.setEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageView.setTextEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageViewController.notifyTextEditModeChanged @ _all.js:1
PageViewController.setTextEditMode @ _all.js:1
TextComponentViewCK.startPageTextEditMode @ _all.js:1
TextComponentViewCK.doHandleDbClick @ _all.js:1
TextComponentViewCK.handleClick @ _all.js:1
_all.js:32021 Uncaught TypeError: Cannot set property 'dir' of undefined
    at Object.d (_all.js:32021)
    at e (_all.js:32022)
    at Array.y (_all.js:32022)
    at x (_all.js:32022)
    at HTMLScriptElement.B.CKEDITOR.env.ie.e.$.onerror (_all.js:32023)
d @ _all.js:32021
e @ _all.js:32022
y @ _all.js:32022
x @ _all.js:32022
B.CKEDITOR.env.ie.e.$.onerror @ _all.js:32023
error (async)
B @ _all.js:32023
load @ _all.js:32023
load @ _all.js:32021
r @ _all.js:32038
(anonymous) @ _all.js:32038
b @ _all.js:32287
loadPart @ _all.js:32289
m @ _all.js:32038
(anonymous) @ _all.js:32038
m @ _all.js:31782
(anonymous) @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fire @ _all.js:31785
fireOnce @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fireOnce @ _all.js:31785
k @ _all.js:32036
(anonymous) @ _all.js:32036
callback @ _all.js:32024
e @ _all.js:32022
y @ _all.js:32022
x @ _all.js:32022
(anonymous) @ _all.js:32023
setTimeout (async)
B.CKEDITOR.env.ie.e.$.onload @ _all.js:32023
load (async)
B @ _all.js:32023
load @ _all.js:32023
a @ _all.js:32024
(anonymous) @ _all.js:32024
k @ _all.js:32036
g @ _all.js:32038
(anonymous) @ _all.js:32034
(anonymous) @ _all.js:31800
setTimeout (async)
setTimeout @ _all.js:31800
a @ _all.js:32034
CKEDITOR.inline @ _all.js:32116
HTMLAreaBuilderCKE.createEditor @ _all.js:1
TextComponentViewCK.doInitEditor @ _all.js:1
TextComponentViewCK.initEditor @ _all.js:1
TextComponentViewCK.setEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageView.setTextEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageViewController.notifyTextEditModeChanged @ _all.js:1
PageViewController.setTextEditMode @ _all.js:1
TextComponentViewCK.startPageTextEditMode @ _all.js:1
TextComponentViewCK.doHandleDbClick @ _all.js:1
TextComponentViewCK.handleClick @ _all.js:1
_all.js:32021 Uncaught TypeError: Cannot set property 'dir' of undefined
    at Object.d (_all.js:32021)
    at e (_all.js:32022)
    at Array.y (_all.js:32022)
    at x (_all.js:32022)
    at HTMLScriptElement.B.CKEDITOR.env.ie.e.$.onerror (_all.js:32023)
d @ _all.js:32021
e @ _all.js:32022
y @ _all.js:32022
x @ _all.js:32022
B.CKEDITOR.env.ie.e.$.onerror @ _all.js:32023
error (async)
B @ _all.js:32023
load @ _all.js:32023
load @ _all.js:32021
r @ _all.js:32038
(anonymous) @ _all.js:32038
b @ _all.js:32287
loadPart @ _all.js:32289
m @ _all.js:32038
(anonymous) @ _all.js:32038
m @ _all.js:31782
(anonymous) @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fire @ _all.js:31785
fireOnce @ _all.js:31784
CKEDITOR.editor.CKEDITOR.editor.fireOnce @ _all.js:31785
k @ _all.js:32036
(anonymous) @ _all.js:32036
callback @ _all.js:32024
e @ _all.js:32022
y @ _all.js:32022
x @ _all.js:32022
(anonymous) @ _all.js:32023
setTimeout (async)
B.CKEDITOR.env.ie.e.$.onload @ _all.js:32023
load (async)
B @ _all.js:32023
load @ _all.js:32023
a @ _all.js:32024
(anonymous) @ _all.js:32024
k @ _all.js:32036
g @ _all.js:32038
(anonymous) @ _all.js:32034
(anonymous) @ _all.js:31800
setTimeout (async)
setTimeout @ _all.js:31800
a @ _all.js:32034
CKEDITOR.inline @ _all.js:32116
HTMLAreaBuilderCKE.createEditor @ _all.js:1
TextComponentViewCK.doInitEditor @ _all.js:1
TextComponentViewCK.initEditor @ _all.js:1
TextComponentViewCK.setEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageView.setTextEditMode @ _all.js:1
(anonymous) @ _all.js:1
PageViewController.notifyTextEditModeChanged @ _all.js:1
PageViewController.setTextEditMode @ _all.js:1
TextComponentViewCK.startPageTextEditMode @ _all.js:1
TextComponentViewCK.doHandleDbClick @ _all.js:1
TextComponentViewCK.handleClick @ _all.js:1
ComLock commented 6 years ago

Turning on and off header 'Accept-Language: en' changes nothing.

ComLock commented 6 years ago

I can reproduce this with 6.15 making a new site only using this https://github.com/ComLock/enonic-xp-app-page-html5 and then inserting a text-component.

ComLock commented 6 years ago

This is pretty serious as I am unable to save the text, so TextComponent is useless for me.

sigdestad commented 6 years ago

@ashklianko could you have a look at this?

ashklianko commented 6 years ago

Will check it

ashklianko commented 6 years ago

@ComLock , could you please try with this: https://github.com/enonic/lib-admin-ui/pull/745

alansemenov commented 6 years ago

@ComLock can you change default language in your browser to English and check if you still get the error?

On 9 Aug 2018, at 15:15, Alex Shklianko notifications@github.com wrote:

@ComLock , could you please try with this: enonic/lib-admin-ui#745

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.

ComLock commented 6 years ago

@alansemenov As I said in my first comment:

Turning on and off header 'Accept-Language: en' changes nothing.

ComLock commented 6 years ago

@ashklianko I have no idea how to try with enonic/lib-admin-ui#745

I am not a Enonic XP core developer, so I don't build from source.

alansemenov commented 6 years ago

Issue moved to enonic/lib-admin-ui #748 via ZenHub