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

Refactoring virtual categories rules storage/reading. #863

Conversation

romainruaud
Copy link
Collaborator

What is done in this PR :

I did choose to not migrate completely to an "externalized" extension attribute because it would have implied to create a new table to store the rules, to migrate the values, to deprecate everything relying on $category->getVirtualRule and would have cause backward compatibility changes.

So for now, this is still a category attribute, but without any custom backend model, allowing users to disable the module without experiencing issues.

I thought this was a rather acceptable solution for now. We'll be able to go further on a next iteration if needed.

Regards

@afoucret afoucret changed the base branch from master to 2.5.x April 26, 2018 09:58
@afoucret afoucret changed the base branch from 2.5.x to master April 26, 2018 09:58
@afoucret afoucret merged commit 0ab432a into Smile-SA:master May 11, 2018
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