Problem/Motivation

When Masquerade field is enabled, adding new fields to nodes shows new, irritating nonsense field types in the "Add field" window.

Dupliacted ER field types

Steps to reproduce

Enable Masquerade field
Create new node type
Add new fields to node

CommentFileSizeAuthor
duplicated_er_field_types.png151.1 KBhudri
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hudri created an issue. See original summary.

joshuami made their first commit to this issue’s fork.

joshuami’s picture

I found a similar issue in the viewfield module and created a merge request with the suggested fix to how masquerade field extends the entity reference field. Tested the patch and it seems to do the trick. Credit should also go to @aeotrin for the nice explanation of their patch.

joshuami’s picture

Status: Active » Needs review

claudiu.cristea made their first commit to this issue’s fork.

claudiu.cristea’s picture

Version: 8.x-1.0-alpha1 » 8.x-1.x-dev
Status: Needs review » Fixed

Thank you for reporting and fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.