Problem/Motivation

If using the patches in #1356276: Allow profiles to define a base/parent profile the libraries module is not aware of parent profiles which may have libraries directories to be searched.

Proposed resolution

Rely on adjustment to drupal_system_listing_profile from #1356276: Allow profiles to define a base/parent profile to add paths to the directories searched so all relevant profiles are considered.

Remaining tasks

None known, this issue is to make a patch available if needed.

User interface changes

Non

API changes

libraries_get_libraries function may now search more directories than previously done.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tekante’s picture

Patch is attached. Will mark this as needs review just so the maintainer can take a quick look but I suspect that since this is a patch dependent on a patch this should likely be closed as a won't fix or as designed (pending real support of inherited profiles in core).

tekante’s picture

Status: Active » Needs review
FileSize
680 bytes

Correction of patch naming and status change. Patch is identical but improper name on previous version would make it hard to track back to this issue from a make file.

tstoeckler’s picture

Version: 7.x-1.0 » 8.x-3.x-dev
Status: Needs review » Postponed

Patch looks good, but I'm setting to postponed until the core issue gets in.

pmelab’s picture

Version: 8.x-3.x-dev » 7.x-2.1
Assigned: tekante » pmelab
FileSize
635 bytes

Recreated the patch for libraries version 2.1

dagomar’s picture

Issue summary: View changes
FileSize
1.92 KB

The patch in #4 goes with patch #25 here: #1356276-25: Allow profiles to define a base/parent profile. However, after that the function drupal_system_listing_profile was removed from the patches. So, #4 will now result in a WSOD (call to undefined function).

To make matters more complicated, the referred issue was split up to allow D7 and D8 development to live independently from one another. So, I have created a new patch that takes into account the latest available patch (surprise, also by me) in the newly created issue here: #2067229-41: Allow install profiles to declare base profiles for Drupal 7

The patch basically lifts the drupal_system_listing_profile from the old patch and adds it to the libraries module as libraries_system_listing_profile.

tstoeckler’s picture

Status: Postponed » Closed (duplicate)

Marking duplicate of #2081579: Base profile support