- Issue created by @wim leers
- Merge request !6882Resolve #3425318 "Field.formatter.settings.file video" β (Closed) created by wim leers
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
core.entity_view_display.media.video.default
usestype: field.formatter.settings.file_video
.So let's check validatability of that concrete config using
./vendor/bin/drush config:inspect --filter-keys=core.entity_view_display.media.video.default --detail --list-constraints
:- Before: 62% validatable.
- After: 68% validatable.
- Issue was unassigned.
- Status changed to Needs review
10 months ago 8:04am 4 March 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
To mark
type: field.formatter.settings.file_video
fully validatable, we also need to ensure that the type it extends is fully validatable. That'stype: file.formatter.media
.Fortunately, that one is also trivial to validate! π
Using
./vendor/bin/drush config:inspect --filter-keys=core.entity_view_display.media.video.default --detail --list-constraints
again:- Before: 68% validatable
- After: 70% validatable
- π³πΏNew Zealand quietone
Let's now have "Follow .." in the git commit message. Although I am not sure what field.formatter.settings.file_video is supposed to match :-(. So, I am tagging for a title update.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
The thing you removed from the title actually made that clear π
Either way: done π, and I'll stop using that prefix β sorry about that! π«£
- Status changed to Needs work
10 months ago 2:13pm 4 March 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I did think there may be config schema implications before I committed that issue, but thought if that were the case the tests should have failed. Any idea why they didn't?
- Status changed to Needs review
10 months ago 5:05pm 5 March 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
#8:
Any idea why they didn't?
- Because config in core is not validated at all. Only basic conformance to the storage types is checked by
ConfigSchemaChecker
. - Because none of the config in core is actually invalid ππ (the only config using this:
core.entity_view_display.media.video.default.yml
)
- Because config in core is not validated at all. Only basic conformance to the storage types is checked by
- Status changed to RTBC
10 months ago 5:48pm 5 March 2024 - πΊπΈUnited States smustgrave
I should of said it out loud, min of 0 haha
Changing the form min/max makes sense.
- π¬π§United Kingdom longwave UK
I could also argue that a 1px video doesn't make much sense but I suppose we have to draw the line somewhere :)
Committed and pushed 6e7fa7f365 to 11.x and 106d55288c to 10.3.x. Thanks!
-
longwave β
committed 106d5528 on 10.3.x
Issue #3425318 by Wim Leers, smustgrave: Update `type: field.formatter....
-
longwave β
committed 106d5528 on 10.3.x
- Status changed to Fixed
10 months ago 5:18pm 11 March 2024 -
longwave β
committed 6e7fa7f3 on 11.x
Issue #3425318 by Wim Leers, smustgrave: Update `type: field.formatter....
-
longwave β
committed 6e7fa7f3 on 11.x
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
@longwave Absolutely! π That's IMHO material for the future; because imposing sensible limits is more likely to need update paths/break BC π«£
Automatically closed - issue fixed for 2 weeks with no activity.