Problem/Motivation
Not sure how the content got into this state but format is nullable but the storage is required to load it leading to a fatal error for some edge cases.
Steps to reproduce
I'm not sure if there's a UI way to reproduce this yet or if it requires additional modules or manual changes.
Proposed resolution
My expectation is that if the format is not set, the rest of this function doesn't care about the field and just skip any additional loading.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork ckeditor5_premium_features-3552434
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
neclimdulMerge request with simple fix.
Comment #4
salmonek commentedI couldn't nullify format with UI too.
When nullified directly in code I got only a warning, not fatal.
The patch looks good, so we'll go with it in the next release.
Comment #5
neclimdulyou probably need assertions enabled to trigger it.
Comment #8
salmonek commentedReleased in 1.6.3
Comment #9
salmonek commentedReleased in 1.6.3