Problem/Motivation

When strongarm module is installed, all the variables are handled by this module. It can be some conflicts between the implementation provided by configuration management and the provided by Strongarm.

The problem is based on the structure of the hook_schema that strongarm provides, the Ctools implementation expects to find the module that handle the schema in array key returned by ctools_export_get_schemas_by_module(). However, Strongarm module uses 'system' as key instead of 'strongarm'. Therefore exports are created with the following dependencies:

$modules = array(
'ctools',
'system'
);

The real issue occurs when configurations are synchronized from a fresh install. If strongarm module is not enabled, variables will be handled by Configuration Management and a lot of errors will be triggered.

Proposed resolution

Implement a class for Strongarm. Force to include Strongarm as dependency in variable exports created by strongarm.

CommentFileSizeAuthor
#1 1904716.strongarm-conflict.1.patch3.06 KBdagmar

Comments

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new3.06 KB
dagmar’s picture

Status: Needs review » Fixed

Committed and Pushed to 7.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.