Skip to content

Magento Analytics must be decoupled #38890

Open
@IbrahimS2

Description

@IbrahimS2

Preconditions and environment

  • Magento version: 2.4.7
  • Anything else that would help a developer reproduce the bug: Add the following in your composer json file:
    "replace": {
        "magento/module-analytics": "*",
        "magento/module-admin-analytics": "*",
        "magento/module-cms-page-builder-analytics": "*",
        "magento/module-customer-analytics": "*",
        "magento/module-catalog-analytics": "*",
        "magento/module-quote-analytics": "*",
        "magento/module-review-analytics": "*",
        "magento/module-sales-analytics": "*",
        "magento/module-wishlist-analytics": "*",
        "magento/module-page-builder-analytics": "*",
        "magento/module-page-builder-admin-analytics": "*"
}

Steps to reproduce

This error when running indexer using cli and after digging in it is used by the following module:

vendor/magento/module-query-xml/Model/Config/Config.php: * Config of ReportXml
vendor/magento/module-query-xml/Model/Config/ConfigInterface.php: * Interface for ReportXml Config
vendor/magento/module-query-xml/Model/Config/ConfigInterface.php:     * Config of ReportXml
vendor/magento/module-query-xml/etc/di.xml:            <argument name="converter" xsi:type="object">Magento\Analytics\ReportXml\Config\Converter\Xml</argument>
vendor/magento/module-data-exporter/etc/di.xml:            <argument name="converter" xsi:type="object">Magento\Analytics\ReportXml\Config\Converter\Xml</argument>
vendor/magento/module-data-exporter/Config/Config.php: * Config of ReportXml

Expected result

The shop must operate normally

Actual result

Class "Magento\Analytics\ReportXml\Config\Converter\Xml" does not exist

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions