Closed d-karstens closed 3 years ago
I can't seem to replicate this sorry. It seems particularly odd that not even the force
flag works, given the Vizy field yaml file exists. I've tried this on a few installs so far...
Oh that's weird, I thought it could just be something with our set up, but I was able to replicate on a fresh Craft install with no other plugins this morning and did a screen recording
It seems like the config is applied in the field settings but doesn't come through in an entry until the settings are resaved
We’re facing this issue as well. We have a Vizy field inside a matrix field which has a block with two fields. Project Config is able to create the block in question, but fails to apply the field layout of that block.
To fix we have had to:
Craft Pro 3.7.3.2 Vizy 1.0.4
@mokopan Ah, I see - it's the editor that the block types don't show up on. Sorry - I was checking they were coming up in the field settings, which they are for both of us.
So it looks like the inner fields on a Matrix, when updated, don't emit a "changed field" event in project config, which is what we use to refresh the field layout for a Vizy field.
Should be fixed for the next release. To get the fix early, change your verbb/vizy
requirement in composer.json
to:
"require": {
"verbb/vizy": "dev-craft-3 as 1.0.4",
"...": "..."
}
Then run composer update
.
Thank you! Was beginning to be unsure if we were doing something wrong craft setups on our end 😅
Unfortunately we're now running into this error when saving a matrix field containing a Vizy block
Just pushed a fix for this, if you can composer update
again?
Works perfect now, thanks again!
Fixed in 1.0.5
Description We've been running into an issue where settings for a Vizy field inside a matrix aren't getting applied when running
project-config/apply
. Have tried using the --force flag, and ensured there aren't any pending migrations. The settings are saved in the config as far as I can see, just not applied.Let me know if you need any more info!
Steps to reproduce
Additional info
Additional context