- Issue created by @trickfun
That means the editor settings on the form is not posting data about image upload settings. However, the form processing code doesn't carefully check this. Is this warning causing any functional problem on that site? Is the form modified by a custom or contributed module?
- Merge request !8566Checked if the status key exists before accessing → (Open) created by Unnamed author
- Status changed to Needs review
7 months ago 4:06am 28 June 2024 Should the Boolean expression be
!isset($image_upload_settings['status']) || !$image_upload_settings['status']
instead?- Status changed to Needs work
7 months ago 12:58pm 28 June 2024 - 🇺🇸United States smustgrave
Like the 3rd issue I've had to post this
But for these kind of issue research needs to be done about why the field is empty. Putting just a check makes the warning go away but could be masking a larger issue.
- 🇩🇪Germany fvd
I have the same message: Warning: Undefined array key "status" in editor_form_filter_admin_format_submit() (line 257 of /web/core/modules/editor/editor.module)
as I add a text format there: /admin/config/content/formats/
The message comes from /admin/reports/dblog
(Drupal core 10.3.1 php 8.3)
- First commit to issue fork.
- 🇺🇸United States mortona2k Seattle
I had some formatters configured with Ace Editor that were throwing this warning.
The config was exporting as:
image_upload: {}
The part that throws the warning is setting empty values to status: false, so I think it's either an intentional warning that some config is bad, or a false warning on an empty value.
Is it an editor config's responsibility to set image_upload: {status: false} ?
(looking at editor.schema.yml, it appears so)