- Issue created by @atowl
- 🇨🇭Switzerland berdir Switzerland
This change doesn't make sense, it's broken and a fatal error on foreach ($fields as item)
- 🇳🇿New Zealand atowl
Hi @berdir,
Could you be a bit more specific? So i could look further?
The only test it seems to be failing is the phpunit, and thats currently failing on 8.x-1.x branch as well.
Thanks
- 🇮🇹Italy finex
Hi, I'm also using Layout Builder AT and I'm experiencing the same error when translating nodes with Layout Builder, but only when a block contains a paragraph field.
I haven't debugged as deeply as @atowl, but I can confirm that the duplicated object is indeed suspicious.
The patch works fine for me. Now, when I try to translate a node with Layout Builder and a block containing a paragraph field, it works as expected.
What's very strange is that if I take the same codebase and use a clean D11 installation with just a couple of languages and a simple block + paragraph setup, I can't reproduce the error. The configuration looks the same. I've also cleaned all the data tables, but maybe I'm missing something.