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

Export related entity issue - NO NORMALIZER FOUND #171

Open
dadasoz opened this issue Mar 19, 2018 · 1 comment
Open

Export related entity issue - NO NORMALIZER FOUND #171

dadasoz opened this issue Mar 19, 2018 · 1 comment

Comments

@dadasoz
Copy link

dadasoz commented Mar 19, 2018

I am trying to export relational data for Brand, currently export for reference data only works with independent entity, but triggers issue when in case of Relational entity.

As in docs there is example bundle, when tried to export Brand, gives same error as in my bundle.

I my case:

Brand is primary entity and Parts is having field which refers to Brand.

Now when I tried to export Brand, works well and in case of Parts export gives me following error.

NO NORMALIZER FOUND FOR OBJECT OF CLASS "PROXIES\__CG__\EXTERNAL\BUNDLE\CUSTOMENTITYBUNDLE\ENTITY\BRAND"

I am using CustomEntityBundle V = 2.0

@dadasoz dadasoz changed the title Export related entity issue Export related entity issue - NO NORMALIZER FOUND Mar 19, 2018
@fitn fitn added this to the 2.0 milestone Mar 19, 2018
@fitn fitn self-assigned this Mar 19, 2018
@fitn
Copy link
Contributor

fitn commented Mar 19, 2018

Hi @dadasoz

You have to create your own normalizer and explain how you want to export your brand entity.
You can take a look here: https://github.com/akeneo-labs/CustomEntityBundle/blob/master/Normalizer/Flat/ReferenceDataNormalizer.php

Feel free to update to a new version of CustomEntityBundle. This feature is natively available in 2.1 and 2.2 :)

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants