{"data":{"id":"magento2-40096","source":"github-pr","sourceRef":"magento/magento2#40096","title":"Extra Logging When Requesting A Product Via Repository Fails","pr":{"number":40096,"url":"https://github.com/magento/magento2/pull/40096","author":"mohaelmrabet","mergedAt":"2025-08-28T14:34:50Z","mergeCommit":"cdff245e121824ab7a9faf9e6dcc5809cf1ed220","headCommit":"a726f107242751c52d12daea16102744eddc78b5","baseRef":"2.4-develop","diffSha256":"f0e4bae3d603f883cd8067803b00f96cc587fe383ce7f7620b01930135c2c2a7"},"issues":[{"number":40090,"url":"https://github.com/magento/magento2/issues/40090","title":"Extra Logging When Requesting A Product Via Repository Fails","labels":["Area: Product","Component: UiComponents","Issue: Confirmed","Priority: P2","Progress: PR Created","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"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-catalog"],"files":[{"path":"app/code/Magento/Catalog/Model/ProductRepository.php","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":["app/code/Magento/Catalog/Test/Unit/Model/ProductLink/ManagementTest.php","app/code/Magento/Catalog/Test/Unit/Model/ProductRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductAttributeMediaGalleryManagementInterfaceTest.php","dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductCustomOptionRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryCategoryLinksTest.php","dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryInterfaceTest.php","dev/tests/api-functional/testsuite/Magento/Catalog/Api/_files/product_options_update_negative.php","dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api/OptionRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api/ProductRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/Downloadable/Api/LinkRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/Downloadable/Api/SampleRepositoryTest.php","dev/tests/api-functional/testsuite/Magento/GraphQl/SendFriend/SendFriendTest.php","dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Set/DeleteTest.php","dev/tests/integration/testsuite/Magento/Catalog/Helper/Product/CompositeTest.php","dev/tests/integration/testsuite/Magento/Catalog/Model/ProductRepositoryTest.php","dev/tests/integration/testsuite/Magento/Quote/Model/Quote/Item/CartItemPersisterTest.php"],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Product"],"component":["UiComponents"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"050b72d90deb3b2d9d19f843e0aeea0282be6631f724ef0e5246d407e9fb0775","isBugfix":0.7255,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8299,"feature":0.0281,"refactor":0.0611,"tests_only":0.0404,"docs_only":0.0122,"dependency":0.004,"cleanup":0.0243},"confidence":0.6449},"scope":{"score":1.5562,"probabilities":{"0":0.0994,"1":0.2451,"2":0.6555},"confidence":0.2495},"risk":{"score":0.5284,"probabilities":{"0":0.5426,"1":0.3864,"2":0.071},"confidence":0.1731},"area":{"choice":"catalog","probabilities":{"catalog":0.8737,"checkout":0.0108,"customer":0.0052,"admin":0.0271,"graphql_api":0.0448,"framework":0.0185,"frontend":0.0098,"other":0.0101},"confidence":0.7334},"securityRelevant":0.0073,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0049,"2.4.0-p1":0.0041,"2.4.1":0.004,"2.4.1-p1":0.0035,"2.4.2":0.0057,"2.4.2-p1":0.0054,"2.4.2-p2":0.0064,"2.4.3":0.0107,"2.4.3-p1":0.009,"2.4.3-p2":0.0109,"2.4.3-p3":0.0063,"2.4.4":0.0229,"2.4.4-p1":0.0105,"2.4.4-p10":0.0074,"2.4.4-p11":0.0095,"2.4.4-p12":0.0076,"2.4.4-p13":0.0066,"2.4.4-p14":0.009,"2.4.4-p15":0.0064,"2.4.4-p16":0.0071,"2.4.4-p17":0.0053,"2.4.4-p18":0.0048,"2.4.4-p2":0.0033,"2.4.4-p3":0.0039,"2.4.4-p4":0.0037,"2.4.4-p5":0.0041,"2.4.4-p6":0.0051,"2.4.4-p7":0.0046,"2.4.4-p8":0.005,"2.4.4-p9":0.0046,"2.4.5":0.0102,"2.4.5-p1":0.009,"2.4.5-p10":0.0062,"2.4.5-p11":0.0103,"2.4.5-p12":0.0094,"2.4.5-p13":0.0085,"2.4.5-p14":0.0104,"2.4.5-p15":0.0078,"2.4.5-p16":0.0062,"2.4.5-p17":0.008,"2.4.5-p2":0.0039,"2.4.5-p3":0.0055,"2.4.5-p4":0.0058,"2.4.5-p5":0.0055,"2.4.5-p6":0.006,"2.4.5-p7":0.0064,"2.4.5-p8":0.0058,"2.4.5-p9":0.0051,"2.4.6":0.0198,"2.4.6-p1":0.0146,"2.4.6-p10":0.0112,"2.4.6-p11":0.013,"2.4.6-p12":0.0098,"2.4.6-p13":0.0098,"2.4.6-p14":0.0088,"2.4.6-p15":0.0081,"2.4.6-p2":0.0052,"2.4.6-p3":0.0089,"2.4.6-p4":0.0095,"2.4.6-p5":0.0084,"2.4.6-p6":0.0102,"2.4.6-p7":0.0082,"2.4.6-p8":0.0061,"2.4.6-p9":0.0047,"2.4.7":0.0142,"2.4.7-p1":0.0103,"2.4.7-p10":0.0095,"2.4.7-p2":0.0072,"2.4.7-p3":0.0113,"2.4.7-p4":0.0161,"2.4.7-p5":0.0115,"2.4.7-p6":0.0171,"2.4.7-p7":0.0108,"2.4.7-p8":0.0118,"2.4.7-p9":0.0064,"2.4.8":0.0251,"2.4.8-p1":0.0159,"2.4.8-p2":0.0169,"2.4.8-p3":0.0166,"2.4.8-p4":0.0185,"2.4.8-p5":0.0139,"2.4.9":0.0226,"unspecified":0.2557},"confidence":0.0626},"backportWorthy":{"score":0.7413,"probabilities":{"0":0.4651,"1":0.3285,"2":0.2064},"confidence":0.0502}},"curated":{"title":"Adds the SKU or ID to the not-found exception in ProductRepository","description":"When ProductRepository get or getById is used with a SKU or ID that is not found, the exception message has no context of what SKU or ID was requested. The message now includes the SKU or ID used in the lookup.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"not-runnable","after":"error","adapted":false,"runAt":"2026-10-06T10:02:55.054Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"unit":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:28:50.650Z"},"integration":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:28:50.650Z"},"api-functional":{"before":"not-runnable","after":"error","runAt":"2026-10-06T10:02:55.054Z"}}},"2.4.7-p10":{"before":"not-runnable","after":"error","adapted":false,"runAt":"2026-10-06T10:49:10.774Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:48:42.662Z"},"integration":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:48:42.662Z"},"api-functional":{"before":"not-runnable","after":"error","runAt":"2026-10-06T10:49:10.774Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40096 details"}