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

[3.4] Matrix Changes Not Merging #5503

Closed
matthewmrotter opened this issue Jan 27, 2020 · 13 comments
Closed

[3.4] Matrix Changes Not Merging #5503

matthewmrotter opened this issue Jan 27, 2020 · 13 comments
Labels
enhancement improvements to existing features ux 😄 features related to user experience

Comments

@matthewmrotter
Copy link

Description

When using the new merging functionality of 3.4, if you edit content in different matrix blocks the changes will not merge.

https://drive.google.com/file/d/1kCCgyW_ocWpfOy3_-bvxYUNuaRn6vJ8K/view?usp=sharing

Steps to reproduce

  1. Change current entry and create a draft
  2. Go back to current entry and make a change in a different matrix block, then hit save.
  3. Return to the draft and merge in changed from current entry.
  4. Nothing Happens

Additional info

  • Craft version: 3.4.0 - RC
  • PHP version: 7.1.33
  • Database driver & version: MySQL 5.5.62
  • Plugins & versions: Supertable 2.3.3
@brandonkelly
Copy link
Member

This is expected; currently field value changes can only be merged in for an entire field, not sub-field blocks/fields. And if you’ve modified a Matrix field at all anywhere within a draft, then it will be protected from being overwritten.

@matthewmrotter
Copy link
Author

Will this be more obvious on release? I'm sure this is going to cause confusion with our client when they click "Merge" and nothing happens.

If it's unable to merge, should the button be there at all? Or can the block be labeled something outside of a yellow "M"? Maybe a white "P" inside of a red block for protected.

@brandonkelly
Copy link
Member

Yeah we probably could work to improve the UX. I’ll reopen and mark this as an enhancement.

@brandonkelly brandonkelly reopened this Jan 27, 2020
@brandonkelly brandonkelly added enhancement improvements to existing features ux 😄 features related to user experience labels Jan 27, 2020
@jsunsawyer
Copy link

jsunsawyer commented Jan 31, 2020

Would be nice if a matrix field could be flagged that it has been changed in some way, and only get overridden at merge if it has been adjusted. I don't think I could explain the current functionality to most clients. Or at least, why/how they'd want to use drafts and merge.

@brandonkelly
Copy link
Member

brandonkelly commented Jul 20, 2020

I had hoped to get this into 3.5 but I’ve been looking into it and it’s a bit trickier than I’d hoped. Will keep working on it, but for 4.0 instead of 3.5.

@sterrym
Copy link

sterrym commented Sep 8, 2020

We've been monitoring this issue for a while now. We came here from spicywebau/craft-neo#355.

Essentially, we have a multilingual customer website and when they use the Preview function (almost always) their entry sometimes gets mixed up with the other language when they Save the entry.

In essence, I wonder if you have any sense of timing on it? It's becoming increasingly painful for us!

@brandonkelly
Copy link
Member

brandonkelly commented Sep 8, 2020

@sterrym That sounds unrelated to this feature request, and more like an actual bug. Make sure you’re running the latest versions of everything, and if you are still able to reproduce the issue reliably, please post a new issue over at https://github.com/spicywebau/craft-neo/issues explaining it and how to reproduce it.

@sterrym
Copy link

sterrym commented Sep 10, 2020

You could be right, though I've been under the impression for the past few months that they were intrinsically linked. We'll look more into it on our end.

@green17
Copy link

green17 commented Sep 24, 2020

This is a problem for us too, clients are getting confused. Any timings on the updated @brandonkelly?

@brandonkelly
Copy link
Member

@green17 We’re working on 4.0 and expect we’ll have a beta ready in 6-9 months.

@green17
Copy link

green17 commented Sep 28, 2020

Thanks @brandonkelly

@brandonkelly
Copy link
Member

Excited to say that this is now resolved for Craft 3.7 – see #7710.

@green17
Copy link

green17 commented Apr 2, 2021

@brandonkelly great news that’s fantastic, will make a lot of our clients happy that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements to existing features ux 😄 features related to user experience
Projects
None yet
Development

No branches or pull requests

5 participants