{"data":{"id":"magento2-31264","source":"github-pr","sourceRef":"magento/magento2#31264","title":"Fix usage of EAV cache type","pr":{"number":31264,"url":"https://github.com/magento/magento2/pull/31264","author":"ilnytskyi","mergedAt":"2024-12-04T17:58:37Z","mergeCommit":"830a2adb996da165bce561564cbd6c5aafb1b394","headCommit":"acdbeddce3dfce292f5364fec6a0e5d66f2aa880","baseRef":"2.4-develop","diffSha256":"3cd0858cc5d31d18f6e8b3886f35e0738fa94eb709f3fa428086df20bd4bee61"},"issues":[{"number":32322,"url":"https://github.com/magento/magento2/issues/32322","title":"[Issue] Fix usage of EAV cache type","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P2","Progress: done","Reproduced on 2.4.x","Severity: S2","Triage: Dev.Experience"],"kind":"pr-derived"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-catalog"],"files":[{"path":"app/code/Magento/Catalog/etc/di.xml","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":5,"mergeBatched":false,"excluded":null,"sections":{"description":"This PR fixes usage of EAV cache type in some places","stepsToReproduce":"1. _Different frontend type can be set to EAV cache type without defining additional eav frontend type introduced by `configured_eav_cache` virtual type_\nUPD: 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.\nIt should be figured out and fixed in different PR/issue.\n2. Class `\\Magento\\Catalog\\Plugin\\Model\\ResourceModel\\Config` checks if  EAV cache enabled but store data in default cache type. This PR fixes missed configuration","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P2","severity":"S2","reportedOn":[]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"a91e84cf7e994c18cd6afe84ccc7a5cd50e133c45632c4dccbd2e862aa4aceea","isBugfix":0.8867,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9161,"feature":0.0224,"refactor":0.042,"tests_only":0.0066,"docs_only":0.0046,"dependency":0.0083},"confidence":0.81},"scope":{"score":0.4188,"probabilities":{"0":0.6477,"1":0.2858,"2":0.0665},"confidence":0.2584},"risk":{"score":0.3026,"probabilities":{"0":0.7567,"1":0.184,"2":0.0593},"confidence":0.4149},"area":{"choice":"catalog","probabilities":{"catalog":0.4741,"checkout":0.006,"customer":0.004,"admin":0.0223,"graphql_api":0.0038,"framework":0.4714,"frontend":0.0076,"other":0.0108},"confidence":0.3689},"securityRelevant":0.0062,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0043,"2.4.0-p1":0.0047,"2.4.1":0.0054,"2.4.1-p1":0.0049,"2.4.2":0.0077,"2.4.2-p1":0.0072,"2.4.2-p2":0.0092,"2.4.3":0.0106,"2.4.3-p1":0.0128,"2.4.3-p2":0.0121,"2.4.3-p3":0.007,"2.4.4":0.0154,"2.4.4-p1":0.0104,"2.4.4-p10":0.0072,"2.4.4-p11":0.0084,"2.4.4-p12":0.0072,"2.4.4-p13":0.0075,"2.4.4-p14":0.0092,"2.4.4-p15":0.0067,"2.4.4-p16":0.0074,"2.4.4-p17":0.0069,"2.4.4-p18":0.0057,"2.4.4-p2":0.0031,"2.4.4-p3":0.0037,"2.4.4-p4":0.0037,"2.4.4-p5":0.0037,"2.4.4-p6":0.0047,"2.4.4-p7":0.0045,"2.4.4-p8":0.0058,"2.4.4-p9":0.0047,"2.4.5":0.0163,"2.4.5-p1":0.0138,"2.4.5-p10":0.0072,"2.4.5-p11":0.0139,"2.4.5-p12":0.0105,"2.4.5-p13":0.0078,"2.4.5-p14":0.0089,"2.4.5-p15":0.0068,"2.4.5-p16":0.0087,"2.4.5-p17":0.0082,"2.4.5-p2":0.0037,"2.4.5-p3":0.0065,"2.4.5-p4":0.0062,"2.4.5-p5":0.0065,"2.4.5-p6":0.0065,"2.4.5-p7":0.0071,"2.4.5-p8":0.0058,"2.4.5-p9":0.0054,"2.4.6":0.03,"2.4.6-p1":0.0192,"2.4.6-p10":0.009,"2.4.6-p11":0.0128,"2.4.6-p12":0.012,"2.4.6-p13":0.011,"2.4.6-p14":0.0118,"2.4.6-p15":0.0097,"2.4.6-p2":0.0051,"2.4.6-p3":0.0082,"2.4.6-p4":0.0118,"2.4.6-p5":0.0075,"2.4.6-p6":0.0098,"2.4.6-p7":0.0092,"2.4.6-p8":0.0073,"2.4.6-p9":0.0064,"2.4.7":0.0188,"2.4.7-p1":0.0149,"2.4.7-p10":0.0108,"2.4.7-p2":0.0096,"2.4.7-p3":0.016,"2.4.7-p4":0.0192,"2.4.7-p5":0.0148,"2.4.7-p6":0.0169,"2.4.7-p7":0.0141,"2.4.7-p8":0.0098,"2.4.7-p9":0.0065,"2.4.8":0.0157,"2.4.8-p1":0.017,"2.4.8-p2":0.0202,"2.4.8-p3":0.0178,"2.4.8-p4":0.0156,"2.4.8-p5":0.0128,"2.4.9":0.0151,"unspecified":0.192},"confidence":0.0351},"backportWorthy":{"score":1.3252,"probabilities":{"0":0.1802,"1":0.3144,"2":0.5054},"confidence":0.0801}},"curated":{"title":"Fixes a catalog config plugin that stores data in the default cache type","description":"The class Magento Catalog Plugin Model ResourceModel Config checks if the EAV cache is enabled but keeps its data in the default cache type. Catalog di.xml now sets the configured_eav_cache virtual type as its cache, which fixes the missed configuration.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-31264 details"}