Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Apr 2015 at 23:26 UTC
Updated:
7 May 2015 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mpdonadioComment #2
alexpottThe run tests part of this part will not work - run-tests.sh runs from cli and can not clear the web server cache. The other part of the patch is critical because of the potential DOS.
Comment #3
berdirNot so sure about that.
Yes, if the namespace changes, new classes or deleted classes, we're fine.
But our module system allows to move modules around, for example, you might have some_module in profiles/something/modules, and then add a site specific override at /modules/some_module. Then all those classes of that module would now point to the wrong folder.
I'd suggest to move this inside drupal_flush_all_caches()...
Comment #4
alexpottWe can't move it into
drupal_flush_all_caches()because that will remove the benefits of caching YAML files in APC user cache.Comment #5
fabianx commentedI am happy to remove it from core/rebuild.php again or put it after the access check, but what the patch does, does not fly as:
cmdline APC != web APC
That is why it was in rebuild.php in the first place ...
Comment #6
fabianx commented#2: Can we just move it after the access check in rebuild.php?
Comment #7
alexpottComment #8
alexpottOkay let's move it and also fix php 5.5+
Comment #9
fabianx commentedRTBC, thanks!
Comment #10
catchCommitted/pushed to 8.0.x, thanks!
Comment #12
mpdonadioJust fixing the type in the title...