- Issue created by @phenaproxima
- last update
over 1 year ago 29,956 pass, 3 fail - @phenaproxima opened merge request.
- last update
over 1 year ago 29,956 pass, 3 fail - last update
over 1 year ago 29,956 pass, 3 fail - last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,958 pass - Status changed to Postponed
over 1 year ago 6:02pm 10 August 2023 - 🇺🇸United States phenaproxima Massachusetts
Postponing this on 📌 New config schema data type: `required_label` Fixed .
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Per @lauriii's review at https://git.drupalcode.org/project/drupal/-/merge_requests/3690#note_200528, I reverted making
views.view.*:label
required from that merge request.I think @lauriii is right that it'd be better to combine:
- making the label required
- deprecate the fallback logic in
View::label()
(+ trigger a deprecation error: ) - updating the default views + tests
… all in a single issue: THIS issue. That'd definitely make it a more coherent change.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Updating the issue summary to make it clear which parts this MR already does vs does not yet do. Also linking issues.
- Status changed to Needs work
over 1 year ago 9:31am 17 August 2023 - last update
over 1 year ago 29,909 pass, 41 fail - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 12:45pm 17 August 2023 - Assigned to phenaproxima
- Status changed to Needs work
over 1 year ago 2:22pm 17 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Looking awesome!
Just 41 failures left, and only one real remark on the MR: the update path test coverage.
Once this is green, I think this only needs subsystem maintainer approval.
- last update
over 1 year ago 29,974 pass, 1 fail - last update
over 1 year ago 29,978 pass - last update
over 1 year ago 29,979 pass - Assigned to wim leers
- Status changed to Needs review
over 1 year ago 3:28pm 17 August 2023 - Issue was unassigned.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
👍
No more remarks!
Only remaining blocker: subsystem maintainer review 😊
- last update
over 1 year ago 29,979 pass - 🇺🇸United States dww
I'm not formally a subsystem maintainer for Views, but I used to co-maintain D7 (and earlier) Views, and am unofficially a quasi co-maintainer for core... 😅
Overall, +1 to this change. The MR looks really good. Nice to see upgrade path so folks don't have to worry about this, and upgrade path tests so we know it works. Opened one perfect-is-enemy-of-the-good style review thread about the
post_update
implementation. Feel free to ignore it if y'all think it's too edge-casey to worry about.Other than that, I think this is RTBC.
Thanks!
-Derek - 🇺🇸United States tim.plunkett Philadelphia
This is fine from a Views perspective. Sorry for the 100s of test views, seeing all those brings back memories :D
- Status changed to RTBC
over 1 year ago 6:12pm 17 August 2023 - 🇺🇸United States dww
Good point on the behavior of
\Drupal\views\Entity\View::label()
. In that case, withdrawing my concern and moving to RTBC.Thanks again,
-Derek - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Sorry for the 100s of test views, seeing all those brings back memories :D
Sorry? 😅😁
- Status changed to Needs work
over 1 year ago 8:07pm 17 August 2023 - 🇫🇮Finland lauriii Finland
Looks mostly good. Posted one comment regarding the upgrade path 😇
- last update
over 1 year ago 30,058 pass - Status changed to Needs review
over 1 year ago 4:12pm 21 August 2023 - Status changed to RTBC
over 1 year ago 7:31am 22 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I was confused by the last commit, which didn't actually move the logic to
hook_ENTITY_TYPE_presave()
.Then I learned
views_view_presave()
callsViewsConfigUpdater
since #2989745: views_update_8500() inlines configuration changes instead of this being done on config save for bc → , then it made sense 😄👍 27:45 57:59 Running- last update
over 1 year ago 29,861 pass, 116 fail - last update
over 1 year ago 30,062 pass - last update
about 1 year ago 30,065 pass - last update
about 1 year ago 30,132 pass - First commit to issue fork.
- last update
about 1 year ago 30,136 pass - last update
about 1 year ago 30,136 pass - Status changed to Needs review
about 1 year ago 11:51am 1 September 2023 - 🇳🇿New Zealand quietone
I'm triaging RTBC issues → . I read the IS and the comments. I didn't find any unanswered questions.
I read the MR (not a review). Two things jumped out at me. One, the trigger error messages do not meet coding standards and 2) the new labels in the yml files are inconsistent some have single quotes and some don't. The first is a being fixed in 📌 Fix Drupal.Semantics.FunctionTriggerError coding standard Downport which is at RTBC and I would like to stop rerolling that. And the second also has an issue 📌 Quote consistency in .info.yml files for Core modules Needs work that still requires work, but mostly because quotes aren't needed in yaml. I have rebased the MR and made changes for these two items.
Setting to NR so those changes can be reviewed.
- Status changed to RTBC
about 1 year ago 12:03pm 1 September 2023 - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
Both changes make sense and look good,back to rtbc.
- last update
about 1 year ago 30,137 pass 57:44 55:42 Running- last update
about 1 year ago 30,130 pass, 1 fail - last update
about 1 year ago 30,148 pass - last update
about 1 year ago 30,150 pass - last update
about 1 year ago 30,152 pass - last update
about 1 year ago 30,163 pass - last update
about 1 year ago 30,163 pass - last update
about 1 year ago 30,170 pass - last update
about 1 year ago 30,170 pass -
effulgentsia →
committed 9a3156da on 11.x
Issue #3380480 by phenaproxima, quietone, Wim Leers, lauriii, dww, tim....
-
effulgentsia →
committed 9a3156da on 11.x
- Status changed to Fixed
about 1 year ago 7:26pm 22 September 2023 - 🇺🇸United States effulgentsia
This issue makes a lot of sense and the MR looks great. Pushed it to 11.x and published the CR.
The only thing that looked a little off to me was:
public function label() { if (!$label = $this->get('label')) { + @trigger_error('Saving a view without an explicit label is deprecated in drupal:10.2.0 and will raise an error in drupal:11.0.0. See https://www.drupal.org/node/3381669', E_USER_DEPRECATED);
I feel like either that message should be moved to happen when the view is saved or the message text should be word-smithed to make a bit more sense in the context of it getting triggered here rather than during the save operation. Could someone open a followup for discussing that? Thanks!
- 🇺🇸United States effulgentsia
This seems like something worth mentioning in the release notes as well.
- 🇺🇸United States phenaproxima Massachusetts
Opened the follow-up: 📌 Rephrase the deprecation notice that is raised when calling the label() method of a view without an explicit label Active
Automatically closed - issue fixed for 2 weeks with no activity.