Fix sidebar blocks display in flexible groups

Created on 25 March 2024, 3 months ago
Updated 4 June 2024, 24 days ago

Problem/Motivation

We received a bug report saying that some of our clients using the version 12.2.1 can't see the sidebar blocks "Upcoming events" and "Newest topics" in flexible groups.

As a result of a extensive investigation, we discovered that the issue is caused by 3 misconfigurations:

1. The visibility settings in the block is restricting it to some group types;
2. The contextual filter in the View has a validation criteria restricting the query to some group types;
3. The social_course module is overriding some of the Views configs affecting the query for those blocks.

We also discovered that this issue does not happen to fresh installations.

Proposed resolution

Since the config overriding (3rd item mentioned above) is already been taken care on another issue πŸ“Œ Remove redundant filters from group content views Needs review , we should write an update script to reset the other two configs: **block visibility settings**, and **contextual filter validation criteria**, so they will match with the install config state.

We should also write a Behat test to make sure the blocks appears properly in the flexible group sidebar region.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

πŸ‡§πŸ‡·Brazil tregismoreira

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

Comments & Activities

Production build 0.69.0 2024