How to Mapping Field

Created on 6 March 2020, over 4 years ago
Updated 24 March 2024, 3 months ago

Hi guys,
I can't map the fields.

I created the view of the external entity "car_type"(Rest Export display) with two fields: id_car_type and name.
So, in the fields of the view I have this list:

  • car_type: id_car_type
  • car_type: name

Now, in my Custom External Entity Type mapping field in this way:

  • In "ID" i have insert: id_car_type
  • In "Title" i have insert: name

Click on SAVE.

Go to http://Test.site/rest/cartype and riceve this error:
"Drupal\Core\Entity\EntityMalformedException: The "cartype" entity cannot have a URI as it does not have an ID in Drupal\Core\Entity\EntityBase->toUrl() (line 192 of core/lib/Drupal/Core/Entity/EntityBase.php)."

Where am i wrong?

💬 Support request
Status

Fixed

Version

2.0

Component

User interface

Created by

🇮🇹Italy Kris77

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.

Production build 0.69.0 2024