Problem/Motivation
When importing site config on a freshly-installed site, I get this warning:
[warning] Schema errors for core.entity_view_display.media.image.default with the following errors: core.entity_view_display.media.image.default:content.field_media_image.settings.image_style missing schema. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out the documentation.
I cannot find a schema for this.
Proposed resolution
Add the schema.
Remaining tasks
Implement.
User interface changes
None.
Introduced terminology
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.
Issue fork drupal-3581500
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 #2
akash_deep commentedI'd like to work on this issue. MR coming shortly
Comment #6
cilefen commentedComment #7
liam morlandThanks for the patch. I tried the patch in the merge request and it did not fix the problem for me.
Comment #8
akash_deep commentedlooking into this
Comment #9
liam morlandOnce an issue has a patch, it should stay on "Needs work" while work continues.
Comment #10
akash_deep commentedhi @liam morland, thanks for testing. i dug into this more and the schema chain actually looks correct, field_formatter.entity_view_display resolves settings through field.formatter.settings.[%parent.type], which for type: image points to field.formatter.settings.image in image.schema.yml, and that already defines image_style. so my MR was probably changing something that didnt need changing. could you share your exact drupal version and the full config export of core.entity_view_display.media.image.default from your site? that would help figure out whats actually going wrong during config import