Problem/Motivation
I created a new recipe and used the "focal_point_crop_by_width" effect.
But when installing the recipe, an error occurs:
There were validation errors in image.style.teaser:
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'width' is an unknown key because effects.97927909-6b76-43c2-8
c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'height' is an unknown key because effects.97927909-6b76-43c2-
8c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'crop_type' is an unknown key because effects.97927909-6b76-43
c2-8c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).
Proposed resolution
Add the "focal_point_crop_by_width" effect into the schema.yml.
I wrote a patch to fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| focal_point.schema.add_.focal_point_crop_by_width.effect.patch | 633 bytes | detroz |
Comments