This issue is related to #1356276: Allow profiles to define a base/parent profile.
The Libraries API is not able to discover libraries in the conf_path() of "base" profiles. This may or may not be an issue with the core patch mentioned above, but rather a bug in Libraries API in hard-coding common paths (or simply because it is unaware of the possibility of sub-profiles ;)
The current work-around to this is to include the desired library in the current sub-profile, but this is not optimal since this work-around will be required for all sub-profiles, whereas, it is not their responsibility to maintain.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1811486-sub-profiles-2.patch | 2.41 KB | helior |
#1 | 1811486-sub-profiles-1.patch | 2.4 KB | helior |
Comments
Comment #1
helior CreditAttribution: helior commentedThis patch is for the Libraries API 7.x-2.x.
This patch allows Libraries API to search through the descendent chain of install profiles.
This patch supersedes the existing patch here #1783598: Patch to allow libraries to work with patches allowing for inherited profiles (with THE RIGHT implementation of #1356276: Allow profiles to define a base/parent profile, but for Drupal 7), but I'm leaving it here to avoid a flame war.
Comment #2
helior CreditAttribution: helior commentedFixed missing first param of drupal_get_path().