Needs review
Project:
Messaging
Version:
6.x-4.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2011 at 15:23 UTC
Updated:
28 Nov 2011 at 13:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
JoeMcGuire commentedAttached patch adds
hook_enable()withautoload_flush_caches()too messaging and messaging_mail which are the two affected modules which includehook_autoload_infoThis allows you to run the test Messaging_Methods_Tests and stops sites generating class not found when the module is first enabled.
Comment #2
JoeMcGuire commentedIf you are using messaging in combination with notifications it is also suffering from the same issue and has a related issue/patch: #1351782: Autoload classes not found on enable.
Comment #3
JoeMcGuire commentedIf you are enabling the modules via
hook_update_Nand drush you might still see class not found errors - this is a related issue and requires a fix in addition to this patch see #1354616: Class not found when enabling modules with hook_update and Drush.