Hey @Matej !
Thanks for checking! I recreated it manually now, and it worked. I then found the issue: it was caused by an empty default link value in the repeater. Bricks expects a link object, so the selected link’s properties were lost when the repeater data was copied.
yeah, I can also replicate it with manually editing the JSON of the component or using yours, and I see the reason why there is an issue… but I would like to find a way why this occured and how, so we can fix the source of the problem, not just “patch” it
Do you remember how you created that component? Which Bricks version?
Hey @Matej!
Yes — the component was a simplified version of a complex component created through MCP in Bricks 2.5-beta2.
The generated JSON already contained an empty array ("link": []) as the default link value inside a repeater row. So the problematic value came from the AI-generated data, rather than a manual action in the builder.
I recreated the component manually in Bricks, and it worked. I haven’t found a way to produce the same invalid value through the regular UI.
Sorry for mistakenly reporting this as a Bricks bug, and thanks for taking the time to investigate! I should have verified the generated component data first. I’m so sorry!
That said, validating or normalizing the incoming JSON might still be a good idea to catch malformed values like this.