- Merge request !4Issue #3223833: Undefined index message on entityqueue pages β (Closed) created by nicxvan
- π·π΄Romania amateescu
The problem seems to be that there's a
EntityReferenceSelection
plugin which doesn't define alabel
key, and I think that's something that needs to be fixed on that plugin, not something that Entityqueue should guard against. - Status changed to Active
8 months ago 2:09pm 22 March 2024 - πΊπΈUnited States nicxvan
I'm not sure if I would agree with that, if a plugin is able to not set the label then it is not required.
If the label key is not required then this module should protect against it being empty.
- Status changed to Needs review
8 months ago 2:10pm 22 March 2024 - π·π΄Romania amateescu
If the label key is not required then this module should protect against it being empty.
The
label
property of Entity Reference Selection plugins is not marked as optional, so it is required: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co... - Status changed to Closed: works as designed
8 months ago 5:15pm 25 March 2024 - πΊπΈUnited States nicxvan
I apologize, I'm not sure what I was looking at last week, reclosing.