spicywebau/craft-neo

Issue with Content Loss When Migrating Neo Blocks to CraftCMS Entry Types

Closed this issue · 2 comments

Bug Description

We encountered a significant issue when updating our Neo fields by migrating from the traditional Neo block field editor to using CraftCMS entry types. Our goal was to streamline and unify the structure of our content fields by transitioning to entry types while maintaining the existing field setup.

Steps to reproduce

  1. Original Setup:
    • We had several blocks configured within Neo using the classical block field editor.
    • Each block contained a set of fields with specific handles.
  2. Migration Process:
    • We attempted to change the field setup from Neo’s block field editor to Craft entry types.
    • The entry types were named identically to the existing Neo blocks, and the fields used within these entry types had the same handles as those in the Neo blocks.
  3. Result:
    • After making the change, all content within the Neo block editor was removed.
    • Fields that were previously populated with content were now empty.

Expected behaviour

We expected that by maintaining the same field names and handles, the migration to Craft entry types would preserve the existing content. Since the structural change did not involve altering the field handles or data types, the content should have been retained.

Actual Behavior:

The transition resulted in complete data loss within the Neo blocks. All previously populated fields became empty despite the fields in the entry types being set up identically to those in Neo.

Please let us know if you need further details about our setup or if there are specific logs or configurations we should provide to assist in resolving this issue.

Neo version

5.1.2

Craft CMS version

5.2.9

Before

Bildschirmfoto 2024-08-03 um 00 46 40

After

Bildschirmfoto 2024-08-03 um 00 45 36

Thanks for reporting that - fixed now in 5.1.3.