Un-disabling the Breadcrumbs field when managing display for a content type throws PluginNotFoundException

Created on 11 July 2023, 12 months ago

Problem/Motivation

Un-disabling the Breadcrumbs field when managing display for a content type throws PluginNotFoundException.

Steps to reproduce

* Install standard.
* Enable this module.
* Navigate to /admin/structure/types/manage/article/display
* Drag the Breadcrumbs element out of the Disabled section of the form, and save the form
* The website will display "The website encountered an unexpected error. Please try again later."
* The logs will show

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "hidden" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FormatterPluginManager are: comment_username, comment_default, comment_permalink, datetime_custom, datetime_default, datetime_plain, datetime_time_ago, file_link, file_audio, file_extension, file_size, file_uri, file_video, file_filemime, file_default, file_rss_enclosure, file_table, file_url_plain, image, image_url, link, link_separate, list_default, list_key, entity_reference_rss_category, text_default, text_summary_or_trimmed, text_trimmed, author, user_name, basic_string, boolean, number_decimal, entity_reference_entity_view, entity_reference_entity_id, entity_reference_label, number_integer, language, email_mailto, number_unformatted, string, timestamp_ago, timestamp, uri_link in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Proposed resolution

TBD

Remaining tasks

All the things.

User interface changes

Potentially πŸ€”

API changes

Unlikely

Data model changes

Unlikely

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Eli-T Manchester

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024