{"data":{"id":"magento2-39642","source":"github-pr","sourceRef":"magento/magento2#39642","title":"[\\Magento\\ConfigurableProduct\\Model\\Product\\Type\\Configurable] PHP error unoticed","pr":{"number":39642,"url":"https://github.com/magento/magento2/pull/39642","author":"bhennesAdv","mergedAt":"2025-05-19T07:57:46Z","mergeCommit":"709454a4d3bc60c9c522cb5cce84329de713d63f","headCommit":"aed9dcd96541030ad8c1d5b99006ccb93a4baf9a","baseRef":"2.4-develop","diffSha256":"900cf084b788d970b51f08614a18f291b3abe71a89c7433734c9761f2272a7f6"},"issues":[{"number":39641,"url":"https://github.com/magento/magento2/issues/39641","title":"[\\Magento\\ConfigurableProduct\\Model\\Product\\Type\\Configurable] PHP error unoticed","labels":["Area: Catalog","Component: ConfigurableProduct","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["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":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","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","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-configurable-product"],"files":[{"path":"app/code/Magento/ConfigurableProduct/Model/Product/Type/Configurable.php","change":"modified","package":"magento/module-configurable-product"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Catalog"],"component":["ConfigurableProduct"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"9f5fdb5d2216d0d00642e00e1805e49b88bc80edef3addf84509fb0e91e0f36d","isBugfix":0.9097,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9302,"feature":0.0034,"refactor":0.0402,"tests_only":0.004,"docs_only":0.0045,"dependency":0.0037,"cleanup":0.014},"confidence":0.8451},"scope":{"score":0.1625,"probabilities":{"0":0.8673,"1":0.103,"2":0.0297},"confidence":0.6455},"risk":{"score":0.1275,"probabilities":{"0":0.9029,"1":0.0668,"2":0.0303},"confidence":0.7309},"area":{"choice":"catalog","probabilities":{"catalog":0.8979,"checkout":0.0097,"customer":0.0068,"admin":0.0229,"graphql_api":0.008,"framework":0.0304,"frontend":0.01,"other":0.0143},"confidence":0.7808},"securityRelevant":0.0054,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0061,"2.4.0-p1":0.0054,"2.4.1":0.0064,"2.4.1-p1":0.0055,"2.4.2":0.0078,"2.4.2-p1":0.0075,"2.4.2-p2":0.0126,"2.4.3":0.0143,"2.4.3-p1":0.0145,"2.4.3-p2":0.0119,"2.4.3-p3":0.0066,"2.4.4":0.014,"2.4.4-p1":0.0115,"2.4.4-p10":0.0072,"2.4.4-p11":0.0103,"2.4.4-p12":0.0075,"2.4.4-p13":0.0074,"2.4.4-p14":0.0088,"2.4.4-p15":0.0064,"2.4.4-p16":0.0078,"2.4.4-p17":0.0068,"2.4.4-p18":0.0059,"2.4.4-p2":0.0032,"2.4.4-p3":0.0041,"2.4.4-p4":0.0042,"2.4.4-p5":0.0047,"2.4.4-p6":0.0046,"2.4.4-p7":0.0053,"2.4.4-p8":0.0051,"2.4.4-p9":0.005,"2.4.5":0.0136,"2.4.5-p1":0.0122,"2.4.5-p10":0.0077,"2.4.5-p11":0.0109,"2.4.5-p12":0.009,"2.4.5-p13":0.0089,"2.4.5-p14":0.0083,"2.4.5-p15":0.0065,"2.4.5-p16":0.0083,"2.4.5-p17":0.0075,"2.4.5-p2":0.0042,"2.4.5-p3":0.0062,"2.4.5-p4":0.0068,"2.4.5-p5":0.005,"2.4.5-p6":0.0059,"2.4.5-p7":0.0078,"2.4.5-p8":0.0057,"2.4.5-p9":0.0043,"2.4.6":0.0264,"2.4.6-p1":0.0217,"2.4.6-p10":0.0099,"2.4.6-p11":0.0139,"2.4.6-p12":0.0121,"2.4.6-p13":0.0112,"2.4.6-p14":0.013,"2.4.6-p15":0.0095,"2.4.6-p2":0.0052,"2.4.6-p3":0.0096,"2.4.6-p4":0.0113,"2.4.6-p5":0.0081,"2.4.6-p6":0.0093,"2.4.6-p7":0.0099,"2.4.6-p8":0.0079,"2.4.6-p9":0.0057,"2.4.7":0.0159,"2.4.7-p1":0.0152,"2.4.7-p10":0.0098,"2.4.7-p2":0.0085,"2.4.7-p3":0.0146,"2.4.7-p4":0.0185,"2.4.7-p5":0.0142,"2.4.7-p6":0.0136,"2.4.7-p7":0.0119,"2.4.7-p8":0.0091,"2.4.7-p9":0.0065,"2.4.8":0.0183,"2.4.8-p1":0.0186,"2.4.8-p2":0.0185,"2.4.8-p3":0.0158,"2.4.8-p4":0.0147,"2.4.8-p5":0.0143,"2.4.9":0.0189,"unspecified":0.1912},"confidence":0.0347},"backportWorthy":{"score":0.9018,"probabilities":{"0":0.418,"1":0.2621,"2":0.3199},"confidence":0.0187}},"curated":{"title":"Fixes the cache of used product IDs on configurable products","description":"In the configurable product type, getUsedProductIds used $product as the foreach loop variable, so the _cache_instance_product_ids data was set on the last used product, not the given product, and subsequent calls on the same $product object did not use the cache. The loop variable name is now $childProduct.","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-39642 details"}