Comment fields are available to add to media, user or taxonomy entity types but this doesn't work

Created on 24 July 2018, almost 6 years ago
Updated 27 February 2023, over 1 year ago

Problem/Motivation

Form field_storage_config_edit_form produces an empty select list on media entity types:
<select data-drupal-selector="edit-settings-comment-type" aria-describedby="edit-settings-comment-type--description" id="edit-settings-comment-type" name="settings[comment_type]" class="form-select required" required="required" aria-required="true"></select>

Since the comment type is required, the field cannot be added correctly to non-node entity bundles.

Steps to reproduce

  • enable the media module
  • add a comment field to the existing image media bundle (/admin/structure/media/manage/image/fields)

Do same with Taxonomy and with User bundles.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

9.5

Component
Comment 

Last updated 2 days ago

Created by

🇺🇸United States kay_v

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

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