Missing target type causes errors

Created on 25 July 2022, over 3 years ago
Updated 8 July 2025, 4 months ago

Problem/Motivation

This may be an issue with our custom module's autocomplete integration with this module but posting the patch here in case anyone else has the issue.

Steps to reproduce

Configure your field without a target type. To be honest I am not sure how we did this but posting the workaround.

Proposed resolution

Check for if the target type is set before trying to access it.

Remaining tasks

Verify the change doesn't break anything

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ccjjmartin Austin, TX

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.

  • πŸ‡©πŸ‡ͺGermany IT-Cru Munich

    When using dynamic_entity_reference 3.2.1 contrib module I'm also getting this error. Changes from MR resolved upcoming errors, but I think support of dynamic_entity_reference module should be double checked.

Production build 0.71.5 2024