- Issue created by @vikas shishodia
- Merge request !111Issue #3507357: Fixing error with link field with limited cardinality. → (Open) created by Unnamed author
- 🇦🇺Australia almunnings Melbourne, 🇦🇺
I suppose instead of
if (!empty($result = $this->resolveFieldItem($item, $context))) {
Could you use
is_null
? - 🇦🇺Australia almunnings Melbourne, 🇦🇺
Hmm, nah not passing tests.
I'll try take a look at this next - Status changed to Postponed: needs info
about 2 months ago 1:02am 6 May 2025 - 🇦🇺Australia almunnings Melbourne, 🇦🇺
I'm unable to reproduce this error.
query MyQuery { node(id: "777f15be-c72f-4578-a9cb-c297559c9e89") { ... on NodePage { paras { __typename ... on ParagraphLinks { links { title url } } } } } }
{ "data": { "node": { "paras": [ { "__typename": "ParagraphText" }, { "__typename": "ParagraphLinks", "links": [ { "title": "Para text", "url": "https://www.para.com" }, { "title": "sdadsasd", "url": "https://www.pasra.com" } ] } ] } } }
Are you able to re-check and revise on how to reproduce?
- 🇺🇸United States apmsooner
Al, I'm not on that project anymore and I could also never reproduce the issue on any other projects so I'm of the opinion of just closing the ticket unless you want to wait on anyone else to respond.
- 🇦🇺Australia almunnings Melbourne, 🇦🇺
Nah thats good enough for now, happy for this to re-open if someone finds a way.