Changing view display machine name results in loss of configured facets

Created on 5 February 2024, 11 months ago
Updated 13 February 2024, 10 months ago

Problem/Motivation

When updating a view block machine name after some facets were associated with it results in the lost of those facets.

Steps to reproduce

1. Create a view with a block display.
2. Add a facet with this view block as the source.
3. Change the view block machine_name under advanced settings.
4. Facets are losts.

I tried renaming the block the the original name but the facets are still lost.

Proposed resolution

I assume there is some kind of event that is triggered when a display machine name is updated. Could we subscribe to that event and update the facet source machine name accordingly and update that new new as the source for the previously defined facets?
I currently do not have the time to dig deeper but once my project is done I could work on it, that will take a little before before I can work on it.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada Menthos

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

Comments & Activities

Production build 0.71.5 2024