I'm trying to add some nodes using "Inline Enity Form - Complex" inside a Paragraphs field (which depends on Entity Reference Revisions module).

I have a content type named Publication with a field called Related persons and institutions, which is a Paragraphs field containing reference to content type Person or Institution (and additionally a select field to define the role).

Relations work fine, but when creating a new Person or Institution inside Publication and afterwards saving the Publication, this error shows up and the Person/Institution node doesn't get created:

This entity (node: %AutoEntityLabel%) cannot be referenced.

By the way, I am using "Automatically generate the label and hide the label field" setting.

Comments

geraldito created an issue. See original summary.

geraldito’s picture

Issue summary: View changes
socialnicheguru’s picture

johan den hollander’s picture

The referenced task is already committed. This is a new issue I guess.
I suspect this has been working and is broken again.

geraldito’s picture

Can't confirm that it did has been working at any time, but still active on 8.x-3.0-beta4 on Drupal 9.3.2

goose2000’s picture

I am having this problem with simple inline form. So I tried to set the content type to not use Auto Entity Label at all, set to Disabled on the configuration, still I get this error.

This entity (node: %AutoEntityLabel%) cannot be referenced.

This occurs with my "Applicant' role who has permissions to create new content for the content types involved.
And can do so fine, when just creating these node types on their own /edit forms.

This does not happen for my Administrator. Permissions related ?

Drupal 10.3.5
Auto Entity Label 8.x-3.3

goose2000’s picture

Update:

Updated to dev version
Development version: 8.x-3.x-dev updated 17 Oct 2024 at 19:22 UTC
No difference.

Next, I gave all permission to my Role 'Applicant'
It worked - now I just need to carefully undo 200+ permissions to find the magic key.