verbb / vizy

A flexible visual editor for Craft CMS
Other
43 stars 8 forks source link

Nested Vizy fields are removed after updating from `2.0.4` to `2.0.5`. #170

Closed kennyheard closed 1 year ago

kennyheard commented 1 year ago

Describe the bug

I have a Vizy field that contains nested Vizy fields. Choosing blocks within this nested field is no longer possible after updating from 2.0.4 to 2.0.5. When editing an entry, the parent block appears, but the nested editor area for the nested field does not seem to render.

Editing an entry on Vizy 2.0.4:

vizy-2 0 4

Editing an entry on Vizy 2.0.5:

vizy-2 0 5

Steps to reproduce

  1. Create a Vizy field called parent.
  2. Create a Vizy field called child.
  3. Create a block within parent and add the child field to it.
  4. Add parent to any entry type.
  5. Create a new entry.
  6. Attempt to add content to the child field.

Craft CMS version

4.2.0.2

Plugin version

2.0.5

Multi-site?

No

Additional context

No response

engram-design commented 1 year ago

Should be fixed for the next release. To get this fix early, change your verbb/vizy requirement in composer.json to:

"require": {
  "verbb/vizy": "dev-craft-4 as 2.0.5",
  "...": "..."
}

Then run composer update.

kennyheard commented 1 year ago

Perfect, that solved the issue until the next release. Cheers!