The Needs Review Queue Bot β tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
This blocks π Add validation constraints to all system.* simple config (except system.rss) Needs work and π± [meta] Add constraints to all simple configuration Active .
- First commit to issue fork.
- π³π±Netherlands bbrala Netherlands
Pushed to a MR with some small changes.
Upgrade path is tested afaik, so removing that tag. Has tests it seems, so removing that tag also. Did small update to IS, but don't see how we can make this more clear.
This will need a CR though. Dont think we need to deprecate anything really, since this is pretty much broken functionality you cant rely on.
- π³π±Netherlands bbrala Netherlands
Added a change record.
All tests are green. Which is great.
Not sure about the upgrade path. I'll ask around
- π¬π§United Kingdom longwave UK
Any existing views that have
default
as the RSS view mode need to be updated so they store whatever the default value actually was, before we delete that value from config. - π³π±Netherlands bbrala Netherlands
Little more context; https://drupal.slack.com/archives/C079NQPQUEN/p1744791038514039
- π³π±Netherlands bbrala Netherlands
Well, seems i have a working test. While going through the motions i did find a one more view that use default still.
views.view.taxonomy_term.yml
row: type: node_rss options: relationship: none view_mode: default
Also a little confused. If i look at
system.rss.yml
the default should berss
i think, since that was in the config. But when running the update test it gets set totitle
, i really don't understand how that is possible. What am i missing there? - π¬π§United Kingdom catch
Left a couple of (reasonably horrible) questions on the MR.
- π¬π§United Kingdom longwave UK
Responded to @catch's review, NW for these changes.
- π³π±Netherlands bbrala Netherlands
I've got some questions about your approach, there might be more gotcha's (and possibly a bug :P)
- π³π±Netherlands bbrala Netherlands
Still need to handle 2 things:
- When default is the viewmode, and we have no config this will keep updateing to the first key. Oops.
- Run this noSave
- π³π±Netherlands bbrala Netherlands
Now running on onSave in the updateAll method.
Also added an extra check for when we have no reference from system.rss and there is an available view_mode called default.