Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to v5 missing scenario : Super Table inside Vizy. #325

Open
portedison opened this issue Nov 26, 2024 · 5 comments
Open

Migration to v5 missing scenario : Super Table inside Vizy. #325

portedison opened this issue Nov 26, 2024 · 5 comments

Comments

@portedison
Copy link

Describe the bug

When upgrading from Super Table 3.0.15, Vizy 2.1.23 and Craft CMS 4.13.1.1, to Super Table 4.0.2, Vizy 3.0.5 and Craft CMS 5.5.3

The data migration doesn't address the scenario where a Super Table is inside a Vizy field. The data is still in the database in it's v4 structure, though it hasn't been migrated into the new v5 structure.

Could this be included in the migration or could there be a utility to handle this specific scenario? Perhaps utilising some of the tools from Vizy?

Another mention on this same issue #292 (comment).

Steps to reproduce

  1. Create a project with Super Table 3.0.15, Vizy 2.1.23 and Craft CMS 4.13.1.1
  2. Create a Vizy field, and a Super Table field, insert Super Table into Vizy field.
  3. Add data to the Super Table field.
  4. Migrate to Super Table 4.0.2, Vizy 3.0.5 and Craft CMS 5.5.3

Craft CMS version

4.13.1.1 -> 5.5.3

Plugin version

3.0.15 -> 4.0.2

Multi-site?

No response

Additional context

No response

@portedison
Copy link
Author

Duplicate issue on Super Table verbb/super-table#569

@Kethatril
Copy link

@engram-design Is this issue something that might be fixed in the future? Currently migrating to craft 5 effectively results in data loss if you have super table fields in vizy.

@engram-design
Copy link
Member

We're actually in a bit of a tricky spot with Matrix support for Craft 5. As you know, Super Table is automatically converted to Matrix for Craft 5.

@engram-design
Copy link
Member

Having said that, Super Table content doesn't get converted like it should. Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-5 as 3.0.7". Be also sure you're on Super Table 4.0.4 and this will only work for new Craft 4 to 5 migrations.

@Kethatril
Copy link

Thank you for that, yeah I knew it was a tricky problem. I'll have a look at the linked issue and figure out if we can migrate to Craft 5. We have used a fair amount of super table inside Vizy so we might have to wait for the matrix support in Vizy issues to be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants