Problem/Motivation
When creating a new format and selecting CKEditor as editor, the AJAX call that loads the CKEditor configuration form crashes with this error:
Cannot load the "filter_format" entity with NULL ID.
That happens because Tooltip::getConfig() is trying to get the format of an editor that does not yet exist in the database.
Steps to reproduce
- Browse to
/admin/config/content/formats/add - Select CKEditor as editor.
- The AJAX request fails.
Proposed resolution
The code should call isNew() on the editor before trying to get its format.
Issue fork tooltip-3316229
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
prudloff commentedComment #4
matthieuscarset commentedThank you for reporting this issue and providing a fix.
Please forgive me for the delay in replying.
It is now merged and will be shipped in the next release soon.