I discovered some weird bug with naming.
I have a collection "pages".
it contains a dynamic zone (sections) with a few components.
For example there are four components:
- hero
- cards
- tabs
- instructions
All these components have another, the same repeatable component.
- In "hero" I named it breadcrumbs
- in "cards" just items
- in "tabs" - tabs
- in "instructions" - also items
For some reason images are not populated in cards and instructions
you can see see the output from the api there:
https://cms.propera.ch/api/energy-pages/43?populate=deep,10
if I explicitly ask to populate sections.items.image - it returns the image for cards and instructions
https://cms.propera.ch/api/energy-pages/43?populate[0]=sections.items.image
but of course everything else is missing
What could be a reason?
Initially I blamed myself, then recently updated strapi, so I tried to downgrade it.
Finally I added one more repeatable field to "cards" and named it differently (cards:). and images start working for the field.
initial compare hero and cards

the same component in tabs

the same component in cards but named differently

So I think that it's definitely because of the name "items".
of course I can rename it although it requires some extra work for me on the company web portal. :/
I discovered some weird bug with naming.
I have a collection "pages".
it contains a dynamic zone (sections) with a few components.
For example there are four components:
All these components have another, the same repeatable component.
For some reason images are not populated in cards and instructions
you can see see the output from the api there:
https://cms.propera.ch/api/energy-pages/43?populate=deep,10
if I explicitly ask to populate sections.items.image - it returns the image for cards and instructions
https://cms.propera.ch/api/energy-pages/43?populate[0]=sections.items.image
but of course everything else is missing
What could be a reason?
Initially I blamed myself, then recently updated strapi, so I tried to downgrade it.
Finally I added one more repeatable field to "cards" and named it differently (cards:). and images start working for the field.
initial compare hero and cards
the same component in tabs
the same component in cards but named differently
So I think that it's definitely because of the name "items".
of course I can rename it although it requires some extra work for me on the company web portal. :/