-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Issue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
Description
Preconditions and environment
Magento version containing these three lines: https://github.com/magento/magento2/blame/fab20b001d40ec34560751e1986d93c227714d19/app/code/Magento/Catalog/Model/Product.php#L2408
Steps to reproduce
- Enable debug logging for monitoring cache invalidation log entries
- Create a new module
- Create a
frontend
area router and Controller e.g.custom/index/index
- Implement product saving action in Controller
- Use
$product->save()
or$productResource->save($product)
(check using both to confirm) - Start monitoring
cache_invalidate
entries e.g. withtail -f -n 0 var/log/debug.log | grep "cache_invalidate"
Expected result
Only the related cache tags are invalidated
Actual result
cat_p
cache tag is included in logs due to
public function cleanModelCache() |
https://github.com/magento/magento2/blame/fab20b001d40ec34560751e1986d93c227714d19/app/code/Magento/Catalog/Model/Product.php#L2408
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 responseAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Needs Update