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

Duplicating a Matrix block and changing the content results in losing some of this new content when saving the entry #25

Open
franciurachel opened this issue Oct 11, 2022 · 3 comments

Comments

@franciurachel
Copy link

Describe the bug

We have this Matrix field to display the cast of single performances, and use the Cloning function to duplicate them, changing date and what is needed to avoid having to re-create the shared content.
When cloning a block and changed the content, after we save the entry some of this content is lost (either the image or part of the plain text data).

Steps to reproduce

  1. Create matrix block
  2. Clone matrix block
  3. Change some of the content
  4. Save the entry

Some of the content is lost.

Screenshot 2022-10-11 at 10 08 58

Craft CMS version

Craft CMS 3.7.39

Plugin version

dev-craft-3

Multi-site?

No

Additional context

No response

@engram-design
Copy link
Member

So this includes nested Super Table content. Are you changing the content of just the Matrix blocks, or the inner Super Table blocks as well?

@franciurachel
Copy link
Author

franciurachel commented Oct 12, 2022

@engram-design Yes, it's a Matrix and each block has a Date field and 2 Supertable fields. We are changing the content of all of them, so Yes, also of the inner Super Table blocks

@engram-design
Copy link
Member

Hmm, I'm wondering if you might be able to put together a video of you recreating the issue? I've recreated your field, and unable to replicate it.

Here's a quick video of my setup, in case something is different https://share.cleanshot.com/jitmya

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

2 participants