Open bricht opened 3 years ago
Hi @bricht. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
@magento export issue to Jira project SFAPP as Story
:white_check_mark: Jira issue (https://jira.corp.magento.com/browse/SFAPP-197) is successfully created for this issue.
@mslabko @bricht Which repo contains the Class CustomOptionPriceEvent.php defined in the issue? Thank you.
@mslabko @bricht Which repo contains the Class CustomOptionPriceEvent.php defined in the issue? Thank you.
When the CatalogPriceDataExporter module will be merged? FYI @bricht
@magento I am working on this
@mslabko @bricht Please check the PR, https://github.com/magento/commerce-data-export/pull/23
The price event data providers contain some duplicate code. Specifically buildEventData functions in FullReindex and PartialReindex providers. For example \Magento\CatalogPriceDataExporter\Model\Provider\FullReindex\CustomOptionPriceEvent::buildEventData and \Magento\CatalogPriceDataExporter\Model\Provider\PartialReindex\CustomOptionPriceEvent::buildEventData are the same.
We need to bring this logic out of the providers in order to avoid code duplication.
Related to https://github.com/magento/catalog-storefront/issues/465