Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jun 2013 at 20:41 UTC
Updated:
29 Jul 2014 at 22:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kgoel commentedThis issue is being addressed here - https://drupal.org/node/2014043. May be this is a duplicate?
Comment #2
andypostNo it's not about container - it's about Views::
Comment #3
pwieck commentedI was told that all tests use container because it inherits from parent. Which way is correct?
Comment #4
David Hernández commentedHi there,
I'm trying to create this patch but it wasn't as easy as looks like. I found the Views:: usage in this 4 tests:
ModuleTest
Plugin/JoinTest
Plugin/FilterTest
Handler/HandlerAllTest
The provided solution doesn't work with those tests, but on the test Handler/AreaEntityTest the change is already there and working. So I'm wondering if this change is already done or I'm missing something.
If someone can provide a bit more of information, I will continue working on this.
Regards,
David.
Comment #5
plopescHello,
I've been working on this issue and removed the static calls to Views:: with its corresponding service in its own container.
Problem with issue title is that there are more services and not only
$this->container->get('views.views_data').Patch attached.
Regards
Comment #6
plopescChanging status.
Comment #7
David Hernández commentedReviewed. Now working fine.
Comment #8
catchCommitted/pushed to 8.x, thanks!