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

[Ecommerce][Productindex][Elasticsearch] Mockup objects relation type is hardcoded to "objects" #78

Open
markus-moser opened this issue Dec 15, 2020 · 1 comment

Comments

@markus-moser
Copy link
Contributor

Therefore asset and document relations do not work anymore.

https://github.com/pimcore/pimcore/blob/master/bundles/EcommerceFrameworkBundle/IndexService/ProductList/ElasticSearch/AbstractElasticSearch.php#L885

The type is stored in the store table but in the elasticsearch index only the IDs are stored. As we now use directly the data from elasticsearch instead of the store table the type information is now missing.

@fashxp
Copy link
Member

fashxp commented Jan 19, 2021

also it seems that there is only the first relation loaded (hardcoded $relation[0]), not all...

@fashxp fashxp added the Backlog label Mar 9, 2022
@brusch brusch transferred this issue from pimcore/pimcore May 31, 2023
@fashxp fashxp added PR Welcome and removed Backlog labels Jan 19, 2024
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