-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
Migration of Typed Link Field content to Hyper when within Matrix fields does not appear to work.
When running the CLI content migration reports successful. Indeed other content types are migrated as expected and no errors are outputted via CLI or logs.
On review of the CMS content after, any Vizy field that is within a Matrix field has not been migrated. Original data/schema is still intact within the database.
Example 1 (Entry):
Before.
[{"type":"vizyBlock","attrs":{"id":"vizy-block-9JMEYOys3B","enabled":true,"collapsed":false,"values":{"type":"type-YaTWjDnVA8","content":{"fields":{"linkItem":{"ariaLabel":null,"customQuery":null,"customText":"This is a button example","target":"","title":null,"type":"entry","value":"67"}}}}}}]
After.
[{"type":"vizyBlock","attrs":{"id":"vizy-block-9JMEYOys3B","enabled":true,"collapsed":false,"values":{"type":"type-YaTWjDnVA8","content":{"fields":{"linkItem":{"ariaLabel":null,"customQuery":null,"customText":"This is a button example","target":"","title":null,"type":"entry","value":"67"}}}}}}]
Example 2 (Url):
Before.
[{"type":"vizyBlock","attrs":{"id":"vizy-block-slvf2i63O5","enabled":true,"collapsed":false,"values":{"type":"type-YaTWjDnVA8","content":{"fields":{"buttonColor":"default","linkItem":{"ariaLabel":null,"customQuery":null,"customText":"Find out more","target":"_blank","title":null,"type":"url","value":"https://www.google.com"}}}}}}]
After.
[{"type":"vizyBlock","attrs":{"id":"vizy-block-slvf2i63O5","enabled":true,"collapsed":false,"values":{"type":"type-YaTWjDnVA8","content":{"fields":{"buttonColor":"default","linkItem":{"ariaLabel":null,"customQuery":null,"customText":"Find out more","target":"_blank","title":null,"type":"url","value":"https://www.google.com"}}}}}}]
Steps to reproduce
- Start with Craft CMS 4.14.11.1 and Typed Link Field 2.1.5
- Install Hyper 1.3.7
- Run
craft hyper/migrate/typed-link-field - Run
craft hyper/migrate/typed-link-content - Confirm content within Matrix field and Vizy has not been migrated in admin.
- Inspect matrix database table to confirm dataset has not changed.
Craft CMS version
4.15.6.1
Plugin version
1.3.7
Multi-site?
Yes
Additional context
No response