[PP-1] Creating comment field w/o a comment type is allowed

Created on 18 August 2020, over 4 years ago
Updated 14 July 2023, over 1 year ago

Problem/Motivation

On field storage the form can be submitted even the "Comment type" dropdown shows no entries. This creates a comment field with an empty comment_type.

Steps to reproduce

  1. Go to: Admin > Structure > Taxonomy
  2. Create a new vocabulary
  3. On the new vocabulary page click the "Manage fields" tab, then click "Add field"
  4. Select "Comment" from "Add a new field" dropdown, fill a field name and press "Save and continue"
  5. Note that the "Comment type" select is empty.

You cannot submit this form because the field has no value but if you go back to the "Manage fields" page (may requirrefresh), you'll note tha the field has been added.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Postponed

Version

9.5

Component
Comment 

Last updated 12 days ago

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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