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

Issue when update block #718

Closed
aodihis opened this issue Mar 6, 2023 · 2 comments
Closed

Issue when update block #718

aodihis opened this issue Mar 6, 2023 · 2 comments

Comments

@aodihis
Copy link

aodihis commented Mar 6, 2023

Bug Description

I have a page builder field using Neo that have 3 levels and inside it there is also a Super Table, Text, Image etc.
I have an issue when I am updating the content if the new block I create is not as the last block. Usually I use add block above to do this. There are 2 issue I found.

  1. Sometimes when I click add a block or even add an asset button the block replaced by the block below it.
  2. Sometime when I editing/ or add the block in the middle or the first one, when I save the entry the last block data is lost.

Steps to reproduce

  1. Open an entry that already have data on Neo Field.
  2. Click on add block above.
  3. Try to add new block (anything, in my case I add and image block).
  4. Click save

Expected behaviour

In step 3 is the first issue, in my case after I click on add image block then the Asset field will appear, but when I click on add an asset button the field data replaced by another block below it.

In step 4 is the second issue, after I click save when I check again the data the last block is lost the data.

Neo version

3.7.0

Craft CMS version

4.3.10

What is the affected Neo field's propagation method?

No response

Does this issue involve templating, and if so, is eager-loading used?

This is not a templating issue

@ttempleton
Copy link
Contributor

I'm unable to reproduce this, but by any chance are you using the Typed Link Field plugin? There have been reports of empty Typed Link Fields causing issues with Neo (and Matrix) blocks, see sebastian-lenz/craft-linkfield#233.

If you're not using Typed Link Field, then if possible, could you please send your composer.json/lock and database backup to [email protected], along with which entry is being affected, and we'll have a look.

@aodihis
Copy link
Author

aodihis commented Mar 7, 2023

@ttempleton yes, I have the link field plugin inside it. Thank you for answer, will check for it.

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

No branches or pull requests

2 participants