Block condition plugin for request path shows incorrect pages visibility status

Created on 15 October 2024, about 1 month ago

Problem/Motivation

When block visibility is configured for pages, and no paths are set, and 'Hide for the listed pages' is selected, then the block is not shown on any pages. In the tab for the pages visibility the text 'Not restricted' is shown. This text is erratic as the block is not shown on any pages so users would expect the text 'Fully restricted'.

Steps to reproduce

Configure a block page visibility as described in the 'Problem/Motivation' section above.

Proposed resolution

When no pages are set, and the option 'Hide for the listed pages' is selected, then show the text 'Fully restricted' and not 'Not restricted'.

Remaining tasks

Create a fix

User interface changes

The text 'Not restricted' is replaced by 'Fully restricted' when no pages are selected in the block pages visibility settings and the option 'Hide for the listed pages' is selected.

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

None

πŸ› Bug report
Status

Active

Version

10.4 ✨

Component

plugin system

Created by

πŸ‡³πŸ‡±Netherlands thomasdegraaff

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

Comments & Activities

Production build 0.71.5 2024