Closed (fixed)
Project:
Libraries API
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2012 at 22:21 UTC
Updated:
27 Jun 2014 at 16:30 UTC
Jump to comment: Most recent
Comments
Comment #1
donquixote commentedThis is a non-issue.
If you ever do serialize this stuff, I will simply implement hook_libraries_info_alter(), and turn the closures into arrays.
The exact format of those arrays can be determined another day.
Comment #2
donquixote commentedSorry, wanted to close as fixed.
Comment #4
donquixote commentedThis has happened now. Libraries info is serialized in libraries_load().
This showed up in #2279981: Serialization exception if namespace is registered with libraries, and is being fixed with an old trick to remove all closures with hook_libraries_info_alter(), and restore the by calling the respective libraries hook implementation again.
I wish I had implemented the libraries integration differently, requiring libraries_load() to be called before the namespaces are registered. Now I have to do extra babysitting for BC support :(
There is nothing to do in Libraries API, but I still want to document this.