{"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":"f4ec6947eb7b7e1c4b6fa9c9362a98bada8387a4049dbd1b252f7d61a1dec55b","isBugfix":0.7568,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8422,"feature":0.0282,"refactor":0.0721,"tests_only":0.0374,"docs_only":0.0158,"dependency":0.0043},"confidence":0.6603},"scope":{"score":1.5515,"probabilities":{"0":0.1049,"1":0.2387,"2":0.6564},"confidence":0.2482},"risk":{"score":0.5182,"probabilities":{"0":0.5409,"1":0.4,"2":0.0591},"confidence":0.1841},"area":{"choice":"catalog","probabilities":{"catalog":0.8802,"checkout":0.0105,"customer":0.0051,"admin":0.0244,"graphql_api":0.0446,"framework":0.0163,"frontend":0.0093,"other":0.0096},"confidence":0.7462},"securityRelevant":0.0074,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0051,"2.4.0-p1":0.0044,"2.4.1":0.0039,"2.4.1-p1":0.0034,"2.4.2":0.006,"2.4.2-p1":0.0055,"2.4.2-p2":0.0072,"2.4.3":0.0106,"2.4.3-p1":0.0112,"2.4.3-p2":0.0103,"2.4.3-p3":0.0067,"2.4.4":0.0244,"2.4.4-p1":0.0109,"2.4.4-p10":0.0077,"2.4.4-p11":0.0103,"2.4.4-p12":0.0077,"2.4.4-p13":0.0068,"2.4.4-p14":0.0093,"2.4.4-p15":0.0064,"2.4.4-p16":0.007,"2.4.4-p17":0.0056,"2.4.4-p18":0.0047,"2.4.4-p2":0.0031,"2.4.4-p3":0.0041,"2.4.4-p4":0.0037,"2.4.4-p5":0.004,"2.4.4-p6":0.005,"2.4.4-p7":0.0044,"2.4.4-p8":0.0044,"2.4.4-p9":0.0039,"2.4.5":0.0099,"2.4.5-p1":0.0091,"2.4.5-p10":0.0059,"2.4.5-p11":0.0098,"2.4.5-p12":0.0091,"2.4.5-p13":0.0085,"2.4.5-p14":0.0093,"2.4.5-p15":0.0075,"2.4.5-p16":0.0064,"2.4.5-p17":0.008,"2.4.5-p2":0.004,"2.4.5-p3":0.0053,"2.4.5-p4":0.0051,"2.4.5-p5":0.0054,"2.4.5-p6":0.0055,"2.4.5-p7":0.0059,"2.4.5-p8":0.0049,"2.4.5-p9":0.0039,"2.4.6":0.0271,"2.4.6-p1":0.0142,"2.4.6-p10":0.0099,"2.4.6-p11":0.0116,"2.4.6-p12":0.009,"2.4.6-p13":0.0096,"2.4.6-p14":0.0087,"2.4.6-p15":0.0075,"2.4.6-p2":0.0051,"2.4.6-p3":0.0085,"2.4.6-p4":0.0095,"2.4.6-p5":0.0087,"2.4.6-p6":0.008,"2.4.6-p7":0.0081,"2.4.6-p8":0.0055,"2.4.6-p9":0.0045,"2.4.7":0.0136,"2.4.7-p1":0.0104,"2.4.7-p10":0.0094,"2.4.7-p2":0.0076,"2.4.7-p3":0.0114,"2.4.7-p4":0.0164,"2.4.7-p5":0.0112,"2.4.7-p6":0.0152,"2.4.7-p7":0.0124,"2.4.7-p8":0.0105,"2.4.7-p9":0.0063,"2.4.8":0.0187,"2.4.8-p1":0.0145,"2.4.8-p2":0.0159,"2.4.8-p3":0.0137,"2.4.8-p4":0.0167,"2.4.8-p5":0.0114,"2.4.9":0.0193,"unspecified":0.2787},"confidence":0.0746},"backportWorthy":{"score":0.7471,"probabilities":{"0":0.4619,"1":0.3291,"2":0.209},"confidence":0.048}},"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"}