Field storage settings give a scary red warning that they can't be changed when the cardinality is the only thing with restrictions

Created on 16 July 2017, over 7 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

When configuring a field that already has data and clicking on the "Field settings" tab, the user gets this alarming error:

However, the error is a lie. You can change anything on the page. The only time you can't is if you change the field cardinality to be less than already-stored values:

This was fixed in #1266748: Changing cardinality lower than highest existing delta causes data loss upon save β†’ .

However, the original error message is still wrong, and creates a bad user experience both by making an alarming message and by making the software seem buggy because the message is proven wrong.

Proposed resolution

  • Remove the current message.
  • Reword the current nonthreateneing message:
    These settings apply to the Image field everywhere it is used. These settings impact the way that field data is stored and the defaults that are provided.
  • Provide a clearer validation message when the allowed values are reduced below the current values in the field.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

10.1 ✨

Component
Field UIΒ  β†’

Last updated 19 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States xjm

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

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

  • Field UX

    Usability improvements related to the Field UI

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