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

Make Embedded Class compatible with Pimcore 5.6 #867

Merged
merged 2 commits into from
Mar 16, 2019

Conversation

sebsasto
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no

The Embedded Classes were not loading because some compatibility errors. Specifically, the $typename was missing, a circular reference on the preGet method and the EditmodeHelper wasn't populating its attributes as expected.

The getDataForObject was returning empty arrays because the closure and the reflection class wasn't populate them in the EditmodeHelper class properties.
For Pimcore 5.6 the preGetData method was having a circular reference because the setter of the class was calling again the preGetData function.
@CLAassistant
Copy link

CLAassistant commented Mar 15, 2019

CLA assistant check
All committers have signed the CLA.

@dpfaffenbauer
Copy link
Member

FYI: Your PR is fine, tests fail cause Pimcore introduced a lot of BC breaks again

@dpfaffenbauer dpfaffenbauer merged commit c43a97b into coreshop:2.0 Mar 16, 2019
@dpfaffenbauer dpfaffenbauer requested a review from a team March 16, 2019 18:13
@dpfaffenbauer dpfaffenbauer added this to the 2.0.5 milestone Mar 16, 2019
@dpfaffenbauer
Copy link
Member

thanks a lot

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.

3 participants