_drupal_full_bootstrap() (or drupal_set_header()) should learn to be more clever

gpk - October 7, 2008 - 23:17
Project:Drupal
Version:7.x-dev
Component:base system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

If an exit hook needs a fully bootstrapped environment it can't safely invoke drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); since _drupal_full_bootstrap() sets a header via drupal_set_header(), but headers and maybe output have already been sent.

(Spin-off from #318102: hook_exit() not invoked for some cached requests).

#1

Dave Reid - October 7, 2008 - 23:23

I think we made our issues at the same time! :) Would it be ok to you gpk if I marked this as a duplicate of #318310: Fatal PHP error with _drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL) on cached request?

#2

gpk - October 7, 2008 - 23:35
Status:active» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.