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

[Promotions] Orphan removal on actions and rules #3866

Merged

Conversation

koemeet
Copy link
Contributor

@koemeet koemeet commented Jan 13, 2016

When updating promotions through the API, it leaves orphans in the database. Right now it only disconnects the relationship, but when you leave out an action, you want it to be gone completely. With this PR they are correctly removed when they are disconnected from their promotion.

pjedrzejewski pushed a commit that referenced this pull request Jan 14, 2016
…emoval

[Promotions] Orphan removal on actions and rules
@pjedrzejewski pjedrzejewski merged commit 7ed43e5 into Sylius:master Jan 14, 2016
@pjedrzejewski
Copy link
Member

Makes sense, thank you Steffen! 👍

@koemeet koemeet deleted the feature/promotions-orphan-removal branch January 14, 2016 00:18
@stloyd
Copy link
Contributor

stloyd commented Jan 14, 2016

Migration is required IIRC.

@koemeet koemeet restored the feature/promotions-orphan-removal branch September 16, 2016 13:54
@koemeet koemeet deleted the feature/promotions-orphan-removal branch September 16, 2016 13:55
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

Successfully merging this pull request may close these issues.

None yet

3 participants