Missing schema for comment_link_approve views field configuration

Created on 6 July 2022, almost 2 years ago
Updated 25 January 2023, over 1 year ago

Problem/Motivation

Views configurations using the "approve comment" link field are producing "The site's configuration does not match the associated schema" errors on /admin/reports/status - "Missing schema" is listed as the problem on individual configs.

Steps to reproduce

Install and enable config_inspector β†’ and visit your Status report page (/admin/reports/status) to see error messages.

Proposed resolution

Modify the schema for the comment_link_approve configuration, on web/core/modules/comment/config/schema/comment.views.schema.yml:

views.field.comment_link_approve:
  type: views.field.comment_link
  label: 'Comment approve link'
  mapping:
    text:
      type: label
      label: 'Text to display'

Remaining tasks

I'll make a patch that adds this schema.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

Adds schema for views.field.comment_link_approve.text

πŸ› Bug report
Status

Fixed

Version

9.5

Component
CommentΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Kasey_MK

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.69.0 2024