Closed (fixed)
Project:
Inline Entity Form
Version:
8.x-1.0-rc8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2021 at 15:11 UTC
Updated:
2 Apr 2021 at 23:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
prudloff commentedThe attached patch uses
referencedEntities(), which loads the entities in a singleloadMultiple()query.Comment #3
joachim commentedGood catch!
Patch looks good, just one question:
We've lost the check for broken entities.
Does referencedEntities() do that for us?
Comment #4
prudloff commentedreferencedEntities()seems to silently ignore invalid target IDs (at least with an SQL storage :SqlContentEntityStorage::doLoadMultiple()uses anINcondition that simply returns nothing for invalid IDs).Comment #5
joachim commentedOk, thanks for looking into that.
In that case, this is ready!
Comment #6
geek-merlinLGTM too!
Comment #8
geek-merlinCommitted and pushed. Thanks a bunch!