Issue #3588520
ListStringItemLabel::calculateDependencies() assumed it would always have a full parent chain (field item → field item list → entity), but when the field item is conjured for static dependency calculation (no real entity), the parent is NULL. The fix guards against this by checking if the parent is a FieldItemListInterface and returning an empty array if not.
AI Assisted Code
Closes #3588520
Edited by Shubham Prakash