It'd be useful for debugging if _registry_check_code() watchdogged when an autoload miss occurs. WATCHDOG_NOTICE seems like the appropriate level, since autoload is triggered as part of user-controlled class/interface checking logic (e.g., is_subclass_of(), instanceof etc.) and a miss therefore does not necessarily indicate a critical error.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sdboyer’s picture

Patch is attached.

Would be really great if we could backport this to 7.x, too. This piece of information has turned out to be important to debugging a particular problem on d.o, and I expect could be useful to other big sites, too. otoh, webchick mentioned that that violates string freeze when I chatted her up about it.

dawehner’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

RIP registry.