if install_already_done_error() gets called it triggers a call to drupal_maintenance_theme() with a minimal bootstrap that doesn't include filter.module. This results in a Call to undefined function filter_xss_bad_protocol() in common.inc::check_url(). The solution proposed is to include filter.module in drupal_maintenance_theme(), though a different solution might exist.

CommentFileSizeAuthor
bootstrap.inc_10.patch700 bytesrobertDouglass
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robertDouglass’s picture

The problem is more widespread. drupal_not_found() triggers a missing dependency on block.module. In fact, loading common.inc without a bunch of modules seems dangerous. I think we should at least load the required modules anytime we load common.inc. Am I right that these bugs are a result of Moshe's patch for 404 handling?

drumm’s picture

Status: Needs review » Fixed

Committed to HEAD.

robertDouglass’s picture

Drumm... any thoughts about the other dependency problems? Is including the individual files like in my patch a robust answer? Or should we have a drupal_load_required_modules() function that addresses all at once?

Anonymous’s picture

Status: Fixed » Closed (fixed)