Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
language system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 17:31 UTC
Updated:
29 Jul 2014 at 20:56 UTC
Jump to comment: Most recent
Comments
Comment #1
sunThanks!
I still have no idea how and where this static is reset for test runs... unless I'm mistaken, the languages are massively leaking into tests right now.
I also do not understand why we don't simply have a NonRequestContainer or HeadlessContainer, instead of those hard-coded lines in drupal_container(), and instead of this procedural language() helper.
But anyway, this patch is a good clean-up on its own, which simplifies and clarifies that current workaround.
Comment #2
dries commentedCommitted to 8.x. Thanks.
Comment #3
tim.plunkettOkay, then THIS can be the issue to fix the language docs on http://drupal.org/node/1539454
Comment #4
tim.plunkettI updated this myself.
This would have been enough for us to know how to update Views, which should be enough.