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

[Rule] refactor Rule conditions and actions peristance #1657

Merged
merged 4 commits into from
Jul 1, 2021

Conversation

dpfaffenbauer
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? yes
Deprecations? no
Fixed tickets #1618

THIS IS A BC BREAK! But I don't see a way around it. This is due to how Symfony Form works with Collections/Arrays. We have to refactor that in order to make it properly work.

  • Add sorting field
  • Fixes in Entity Merger with ManyToMany Collections
  • Add reloading of conditions/actions on save
  • Force reload Resource on save
  • Fix orphan removal for conditions and actions

 - Add sorting field
 - Fixes in Entity Merger with ManyToMany Collections
 - Add reloading of conditions/actions on save
 - Force reload Resource on save
 - Fix orphan removal for conditions and actions
@ramundomario
Copy link
Contributor

Could also solve #1557?

@dpfaffenbauer
Copy link
Member Author

@ramundomario probably

@dpfaffenbauer
Copy link
Member Author

@ramundomario I just tested it with this fix, it works for sending different emails. But I never tested it before the fix.

@dpfaffenbauer dpfaffenbauer merged commit ef1f4ab into coreshop:2.2 Jul 1, 2021
@dpfaffenbauer dpfaffenbauer deleted the issues/1618 branch July 1, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants