- Issue created by @prudloff
- Status changed to Needs review
12 months ago 4:55pm 22 July 2024 - πΊπΈUnited States smustgrave
Can you check the setting if you're skipping default.
- πΊπΈUnited States smustgrave
Thereβs a setting form for ignoring default
- π«π·France prudloff Lille
Yes and
$ignore_default
contains the value from this setting and is then used in the loop to ignore the default display.
This logic is already there and I have not changed it at all. What are you asking me to do exactly? - πΊπΈUnited States smustgrave
Just making sure you had the setting checked in the form
- π«π·France prudloff Lille
Oh OK. No I don't have this option checked. We do want to check the default display.
I also tried with a non-default display to be sure and I still can reproduce the bug (and the patch fixes it).
- Status changed to Needs work
11 months ago 3:15pm 25 July 2024 - πΊπΈUnited States smustgrave
So I tested by enabling the show default view setting
Edited the admin content default view to be unrestricted
Ran the check
It captured the finds as expected. - π«π·France prudloff Lille
Is the content view the latest enabled view of the first batch of 5 by any chance?
foreach ($views as $view) {
will loop on a batch of 5 views and only keep the findings of the latest in this batch. It will then loop on another batch and keep the latest findings in this batch, etc.So you can by chance avoid the bug if your view is at the end of a batch.
A way to reproduce this is to unprotect the default display of 4-5 views and run the check: it will only display an error for some of the views. -
smustgrave β
committed b572d86b on 3.0.x
Issue #3463149 by prudloff: views_access check is broken
-
smustgrave β
committed b572d86b on 3.0.x
- Status changed to Fixed
11 months ago 3:34pm 25 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.