Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jan 2015 at 16:57 UTC
Updated:
5 Feb 2015 at 14:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerSo we talk about the problem of using multiple different include_once statements for different compiled containers? PUH
Comment #2
dawehnerWell, the simplest idea would be to wrap the
class_exists()Comment #3
znerol commentedI've traced down the problem to the following difference between the CLI test runner and the GUI: The former does not dump its container, while the latter does.
I believe the following happens in the GUI:
service_container_prodincluding a couple of generated proxy classes)service_container_testingincluding a couple of generated proxy classes. However the proxies have the same names as the ones loaded before by the test runner.Comment #4
znerol commentedHow about just use a environment based namespace for the dumped container?
Comment #5
znerol commentedAdding tests. The test-only patch is also the interdiff.
Comment #6
znerol commentedComment #8
jibran+1 from me this looks good.
Comment #9
dawehnerGreat fix!
Comment #10
alexpottThis issue addresses a major bug and is allowed per https://www.drupal.org/core/beta-changes. Committed 722c8dd and pushed to 8.0.x. Thanks!