Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Feb 2024 at 03:24 UTC
Updated:
12 Apr 2024 at 10:04 UTC
Jump to comment: Most recent
Comments
Comment #2
larowlanComment #3
larowlanComment #4
larowlanComment #5
larowlanComment #6
alexpottComment #7
alexpottComment #10
ruturaj chaubeyComment #11
smustgrave commentedAppears to have test failures
Why was it tagged for tests?
Comment #12
ruturaj chaubeyComment #15
quietone commentedIn trying to figure out why the test was failing I notices that two of the plugins do not declare a theme. That means that 'register_theme' will be TRUE which makes no sense because there is no theme declared in the plugin. Therefore, this adds
register_theme: FALSE,for those two plugins.Comment #16
smustgrave commentedGreat investigative work @quietone!
I'm seeing that fixed all the tests and searched the repo and all 4 instances of @ViewsPager have been replaced.
I made 1 small nitpicky change adding "class-" to the driver.
Comment #17
alexpott$theme has the wrong default value - causing the problems with register theme.
Comment #18
alexpottHere are the current definitions for none and some... let's not change register_theme. It'll be work once the attribute as a theme value set to NULL rather than an empty string. Which makes more sense anyways.
Comment #19
quietone commented@alexpott, thanks for the changes. I thought I had changed $theme to NULL and tested before I went on holiday. I guess I was wrong about that. Maybe I should have tried again.
Changes made, tests are passing. So back to needs review.
Comment #20
smustgrave commentedSo " vs ' I don't think there is a standard for that right?
I see for example #[ViewsRow are using " but #[ViewsArgument used '
Most appear to be using " but if a follow up is needed to fix #[ViewsArgument then we should maybe make it inline too right?
vs
But changes here look good.
Comment #21
alexpottCommitted and pushed 0eca710d8b to 11.x and 95bfc525bd to 10.3.x. Thanks!
Fixed on commit.