Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forum.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Feb 2014 at 21:32 UTC
Updated:
29 Jul 2014 at 23:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andypostsuppose this could be simply grep'ed
Comment #2
larowlanWhen is forum manager serialized?
Comment #3
andyposteverytime when used in ajax forms
Comment #4
larowlanworking on this
Comment #5
larowlanSomething like so?
Comment #6
andypostSure, also spotted.
this one is confusing, but out o scope
Comment #7
larowlanAdded #2205101: Weird use of globals for table header in Forum for the global
Comment #8
dries commentedThis patch looks good but what is the __sleep() and __wakeup() for?
Comment #9
larowlanIf an object is serialized, php calls wakeup function before unserializing. The sleep function is called before serializing. If forum manager is injected into a form, and that form uses caching (eg ajax) then forum manager gets serialized. This ensures it does so without keeping stale values.
Comment #10
alexpottforum-mgr-serialization-2201659.1.patch no longer applies.
Comment #11
akozma commentedRerolled.
Comment #12
andypostback to rtbc
Comment #13
alexpottCommitted f099e8c and pushed to 8.x. Thanks!