Closed dyerc closed 3 years ago
Yeah, this is one of the annoying things I find with Craft/Yii, in that it's not exactly friendly if you try and save a property on a model for a property that no longer exists. You'd get the same issue if you tried to set a custom field on an element (Entry/Matrix block) for something that didn't exist.
But yep, something we need to address. Thanks so much for your PR!
Added in 1.0.3
Description
I feel like Vizy needs to check whether all of the matrix fields exist before trying to assign stored json to it. In Craft's
_createBlocksFromSerializedData
function it doesn't appear to be doing this.Steps to reproduce
Additional info
Additional context