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

[CoreExtensions] refactor how Doctrine Entities are cloned #1770

Merged
merged 5 commits into from
Nov 25, 2021

Conversation

dpfaffenbauer
Copy link
Member

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

Don't use __clone anymore, as it is way too unpredictable in some matters. Use a CustomCopy from Pimcore and manually clone and reset data. This also doesn't completely clone all the data, since we have some dependencies from store-values to Product Unit Definitions. But this is something we cannot solve this way and therefore is simply just not supported. This also fixes copying of Specific Product Price Rules and Quantity Price Rules.

<!-

… clone anymore, as it is way to unpredictable in some matters. Use a CustomCopy from Pimcore and manually clone and reset data.
@dpfaffenbauer dpfaffenbauer added this to the 2.2.11 milestone Nov 4, 2021
@dpfaffenbauer dpfaffenbauer self-assigned this Nov 4, 2021
@dpfaffenbauer
Copy link
Member Author

ping @solverat

@dpfaffenbauer dpfaffenbauer merged commit eac35c2 into coreshop:2.2 Nov 25, 2021
@dpfaffenbauer dpfaffenbauer deleted the issues/1765 branch November 25, 2021 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants