Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views_ui.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2014 at 03:27 UTC
Updated:
15 Oct 2014 at 18:04 UTC
Jump to comment: Most recent
Comments
Comment #1
jhodgdonThanks for filing this!
So the problem is that without this patch, if you go to admin/reports/views-plugins you get:
With this patch, you get the desired report, and the links work (it displays views plugins with links to views that use each one).
Thanks for filing the issue and making a patch!
And as a note, this bug was discovered by the test in #2347077: Write an admin crawler test... we might want to have this test as part of our test suite... might save us headaches!
Comment #2
jhodgdonAlso as this is a fatal error, the issue is at least Major if not Critical (I am not sure that the Views Plugin Report is a critical part of Drupal, so not marking Critical, even though the report totally doesn't work without this simple one-line fix).
Comment #3
martin107 commentedAn admin page is broken on the beta...
So while celebrating a major milestone... I am wistfully pining for beta-2.. what is wrong with me!!!
This is a small localised change.
It fits a common pattern, which maybe be in the short term memory of reviewers and committers.
QuickFix++
Comment #4
geodaniel commentedThis looks good to me. Just closed the duplicate I created at #2348057: Error when loading admin/reports/views-plugins on fresh install.
Comment #5
alexpottCommitted 51a6720 and pushed to 8.0.x. Thanks!
Comment #7
dawehnerWhat about tests?
Comment #8
jhodgdonIf my Admin Crawler patch gets in, it will test this page. :)
Comment #9
martin107 commented#2347077: Write an admin crawler test
if committed will visit all admin pages and perform elementary checks...so this gross failure will be picked up there.
Perhaps you had something more specific in mind? ... that might even be an offer of help :)
I appreciate that now we are in beta ... committers are rightfully being instructed to tighten up on code quality..
Is you comment that the controller needs integration testing .. alternatively there are lots of complex foreach loops in and reportPlugin / reportFields
that might benefit from a unit test passing mocked data through them?
Comment #10
xjmThanks @martin107. It's not a matter of the fact that we are in beta or not; our expectations of code quality are the same throughout the release cycle. It's a core policy that every bugfix should come with a regression test when it is in committed. See: https://www.drupal.org/core-gates#testing
#2347077: Write an admin crawler test sounds like a good solution in this case. It's just not usual for patches to be committed without mentioning it.