Skip to content

Cache issue - Product cache tags are not clean after save category #39783

@m08110071

Description

@m08110071

Preconditions and environment

  • Magento 2.4.7-p3
  • All indexer mode are Update on schedule

Steps to reproduce

  • Create a new category C1, set Anchor to No
  • Create a new sub category C2, C2 is child of C1
  • Create a simple product A and assign to category C1, make sure A is visible on frontend
  • Create a simple product B and assign to category C2, make sure B is visible on frontend
  • Wait to reindex process complete
  • Call a GET graphQl query products to get aggregation data with filter is category C1
  • Go to edit category C1 and set Anchor to Yes
  • Wait to reindex process complete
  • Call a GET graphQl query products to get aggregation data with filter is category C1 again

Expected result

  • Aggregation data is correct (include products from child categories)

Actual result

  • Aggregation data is correct (not include products from child categories)

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

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.7-p3Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions