Conn't add Entity extra field form people/accounts (user)

Created on 24 January 2023, almost 2 years ago
Updated 7 August 2023, over 1 year ago

I have had problem when I created new entity extra field for user
1` Install new project
2` Enable entity extra field and entity extra field UI
3` Go /admin/config/people/accounts/extra-fields and add new extra field

Issue has dependenced $condition->buildConfigurationForm() and when I changed Drupal\Component\Plugin\Discovery

if ($plugin_id == 'entity:user:') {
      $plugin_id = 'entity:user';
    }

Is has started work, but when I submitted save throw error.
Drupal\Core\Entity\EntityMalformedException: The entity does not have an ID. error
Probably it's related in $plugin_id

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

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

Comments & Activities

Production build 0.71.5 2024