Skip to content

Conversation

@IgorisB
Copy link
Contributor

@IgorisB IgorisB commented Oct 28, 2024

Fixed variation binding to support the Lucene search engine when product has only one variation. In this case Lucene stores __variations field value as string type.

Description

Variation binding assumes that search engines return a list of variation IDs for a product. However, if a product has only one variation, Lucene returns a single object instead. As a result, the GraphQL query returns an empty list of variations in this case.

References

QA-test:

Jira-link:

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/VirtoCommerce.ExperienceApi_3.845.0-pr-571-3b70.zip

@vc-ci
Copy link
Contributor

vc-ci commented Oct 28, 2024

Reveiw task created: https://virtocommerce.atlassian.net/browse/VCST-2156

@sonarqubecloud
Copy link

@OlegoO OlegoO requested a review from ksavosteev October 28, 2024 12:51
@ksavosteev ksavosteev merged commit e94e568 into dev Oct 30, 2024
5 checks passed
@ksavosteev ksavosteev deleted the fix-variationbinding branch October 30, 2024 09:29
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.

4 participants