Crash when editing subscription field if you have a field with a "target_type" setting

Created on 5 January 2018, over 6 years ago
Updated 7 December 2023, 7 months ago

Drupal\Component\Plugin\Exception\PluginNotFoundException when the getFieldmapOptions() runs into a moderation_state field. That happens to have a "target_type" setting... but it isn't an entity reference. :/ it gets treated as one and crashes.

Patch attached may not be quite right, if there are non-entity-reference fields we were trying to find here.

πŸ› Bug report
Status

Active

Version

1.5

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States gcb

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.

  • πŸ‡ΊπŸ‡ΈUnited States xenophyle

    Do you think we should go forward with this even if it might exclude some non-entity-reference fields that should not be excluded? Are we feeling biased toward action?

Production build 0.69.0 2024