spicywebau / craft-neo

A Matrix-like field type for Craft CMS that uses existing fields
Other
403 stars 63 forks source link

Neo blocks disappear after saving draft as new entry #891

Closed ttempleton closed 2 weeks ago

ttempleton commented 1 month ago

Hi @ttempleton just got the issue on release Neo release v4.20 which @harry2909 referenced here: https://github.com/spicywebau/craft-neo/issues/823#issuecomment-2126959634

When saving as a new entry, which has draft revisions, the original entry loses it's content.

Potentially happens after a specific job in the queue has completed so doesn't appear to happen immediately. Could be after the queue jobs: Deleting old Neo blocks or Saving Neo block structures for duplicated elements.

Manage to reproduce and capture the incident on a screen recording:

https://github.com/spicywebau/craft-neo/assets/2337910/1ffa663d-f668-4594-a485-96e5cff2e28d

Please can you take another look?

Originally posted by @joepagan in https://github.com/spicywebau/craft-neo/issues/823#issuecomment-2145093007

joepagan commented 2 weeks ago

Hi @ttempleton could we get an update on this one please?

We've got a website to put live and the content editors have been holding off adding the entire site content because of this issue.

Thanks

ttempleton commented 2 weeks ago

@joepagan That's fixed now in 4.2.3.