block_visibility_groups conflicts with context module

Created on 10 August 2022, over 2 years ago
Updated 13 November 2024, 5 months ago

Problem/Motivation

Enabling the block_visibility_groups module conflicts with the context module's "Reactions" called "Blocks". Which eventually doesn't allow Drupal to save the state of the applied blocks.

Steps to reproduce

On a vanilla Drupal site:

  • composer require 'drupal/block_visibility_groups:2.0.x-dev@dev'
  • composer require 'drupal/context:^4.1'
  • drush en -y block_visibility_groups context_ui
  • Now once logged in to the site, access /admin/structure/context/add & add a dummy context
  • Once the context is added, go to the "Reactions" section, click on "Add reaction" & select "Blocks" from the available options.
  • Now try placing any block in any region; it won't work.
  • Repeat the steps above with uninstalled block_visibility_groups module, & you'd be able to assign a block in context

Proposed resolution

No idea at the moment!

Remaining tasks

Create MR/patch

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rishi kulshreshtha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024