CKEditorPluginBase::getFile is supposed to return a path relative to the drupal root, but right now in the provided CKEditor plugin, it's returning a web path instead, due to prepending the base path.

That makes the JS parsing done in locale.module tries to load a file from the root of the server filesystem, which doesn't work.

Patch to fix that coming up shortly.

CommentFileSizeAuthor
#2 2822925-2-Fix-JS-file-path.patch828 bytesDeFr

Comments

DeFr created an issue. See original summary.

DeFr’s picture

Status: Active » Needs review
StatusFileSize
new828 bytes
DeFr’s picture

For reference, the warning found in the watchdog is Warning: file_get_contents(/libraries/balloonpanel/plugin.js): failed to open stream: No such file or directory in _locale_parse_js_file()

  • darol100 committed 8ff15e9 on 8.x-1.x authored by DeFr
    Issue #2822925 by DeFr: Warning on JS aggregate rebuilds when locale is...
darol100’s picture

Status: Needs review » Fixed

Fixed,

Thank you @DeFr.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.