Needs review
Project:
Data
Version:
7.x-1.x-dev
Component:
Entity API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2016 at 10:31 UTC
Updated:
1 Jun 2020 at 14:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jimyhuang commentedThis is our patch. To see if we can pass the test.
Comment #3
joachim commentedLooks like a reasonable change, but this should be in data_entity_views_data_alter(), so in Data Entity and not in Data module.
Comment #4
jimyhuang commentedMove change to data_entity_views_data_alter. Patch here.
Comment #5
roderikThis should also fix the 'edit item' link in the view, in such situations.
I don't have the setup to test this right now (just stopping by to crosslink a few issues), but it seems to me like people using the 'edit' link will be confused with the unpatched module, if their (single or multi-field) primary key happens to be different from the entity ID.