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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

helior’s picture

Status: Active » Needs review
FileSize
2.4 KB

This 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.

helior’s picture

Version: » 7.x-1.0
FileSize
2.41 KB

Fixed missing first param of drupal_get_path().