Problem/Motivation

The configuration schema for the HTTP Status Codes visibility condition on blocks is missing.

Steps to reproduce

1) Install this module
2) Create a block, and select the block to be visible for at least one of the HTTP status codes (200, 403, 404) to force this configuration to exist in your instance
3) Install the Configuration Inspector module.
4) Visit the configuration inspection page at /admin/reports/config-inspector
5) Note that there is an error for the block created in step 2. Click 'List' for this block, and it shows that the HTTP Status Codes is missing the schema.

Proposed resolution

Define the schema.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

Jaypan created an issue. See original summary.

jaypan’s picture

Attaching patch

mohit.bansal623’s picture

Status: Active » Needs review

As you have already applied the patch, switching its state to Needs Review.

ilgnerfagundes’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new82.04 KB
new22.1 KB

I applied the patch and the error is gone, everything is fine with me.

  • paulocs committed 4ba4241 on 8.x-4.x authored by Jaypan
    Issue #3193631 by Jaypan, ilgnerfagundes: HTTP Status Code config schema...
paulocs’s picture

Fixed!

paulocs’s picture

Status: Reviewed & tested by the community » Fixed
jaypan’s picture

Obrigado!

Status: Fixed » Closed (fixed)

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