Skip to content

[Issue] Fix usage of EAV cache type #32322

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #31264: Fix usage of EAV cache type


Description (*)

This PR fixes usage of EAV cache type in some places

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes magento/magento2#<issue_number>

Manual testing scenarios (*)

  1. Different frontend type can be set to EAV cache type without defining additional eav frontend type introduced by configured_eav_cache virtual type
    UPD: looks like it's bigger problem I see many other classes do not use \Magento\Eav\Model\Cache\Type and they can't be fixed due to Magento\Framework\App\CacheInterface and Magento\Framework\Cache\FrontendInterface incompatibilities.
    It should be figured out and fixed in different PR/issue.
  2. Class \Magento\Catalog\Plugin\Model\ResourceModel\Config checks if EAV cache enabled but store data in default cache type. This PR fixes missed configuration

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Labels

Area: CatalogComponent: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions