Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
bootstrap system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jan 2014 at 00:33 UTC
Updated:
29 Jul 2014 at 23:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chx commentedComment #2
sunNot sure what to do with this issue. Why did you mark it as "won't fix" ?
Comment #3
tim.plunkettJust for clarity, this was documented in https://drupal.org/node/2080891
Comment #4
sunAttached patch fixes the missing inclusion of /core/vendor/autoload.php.
That also allows us to remove that utterly bogus file path that is being included in drupal_settings_initialize().
Lastly, fixed the docs on drupal_bootstrap() accordingly.
Comment #5
chx commentedI won't fixed because this is one of those issues which are highly controversial. The fix is not to add autoload to rebuild but remove from the others and move it inside the drupal_bootstrap process.
Comment #6
sunGiven https://drupal.org/node/2080891, that appears to be a adopted and agreed-on change already. I'm not familiar with the underlying reasons that led to the change.
Unless I'm mistaken, this issue appears to have been created to remove a fix from #2171683: Remove all Simpletest overrides and rely on native multi-site functionality instead that is technically correct (following the status quo of core architecture) but slightly out of scope in that issue.
My interest is to unblock #2171683, so if I should open a separate issue for the patch in #4, then just let me know, please.
Comment #7
Anonymous (not verified) commentedthis seems like a straightforward fix to me.
i didn't even notice the autoload thing happen 4 mths ago :-)
Comment #8
chx commentedGo ahead, I filed a patch at #2176345: Drupal can't bootstrap itself any more
Comment #9
sun4: drupal8.rebuild-autoload.3.patch queued for re-testing.
Comment #10
webchickCommitted and pushed to 8.x.
For my part, I've been playing around with other Composer-ish third-party libs like Guzzle and Symfony, etc. and they all have the step of adding a require_once to vendor/autoload.php in addition to whatever other requirements are needed. So although it also feels a bit strange to me that bootstrap.inc doesn't actually bootstrap, it does appear to be the way PHP projects are going.