{"data":{"id":"magento2-38394","source":"github-pr","sourceRef":"magento/magento2#38394","title":"Scope bug in Catalog URL resource (_getCategories)","pr":{"number":38394,"url":"https://github.com/magento/magento2/pull/38394","author":"pmzandbergen","mergedAt":"2025-06-26T06:32:13Z","mergeCommit":"76e294eadcc97b62f058870d69ab52c76be0c36d","headCommit":"14d27209657f55cf60cb2e6f35a8fe5c2b639e94","baseRef":"2.4-develop","diffSha256":"afb2bc759766616cedd1324f9afb6e102f9c2a3fdc2bd50074a9fccbff734b8d"},"issues":[{"number":38393,"url":"https://github.com/magento/magento2/issues/38393","title":"Scope bug in Catalog URL resource (_getCategories)","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P2","Progress: PR in progress","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-catalog"],"files":[{"path":"app/code/Magento/Catalog/Model/ResourceModel/Url.php","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":["dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/UrlTest.php"],"docs":[],"outsideCode":[]},"linesChanged":2,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"995ce488fdc76158a4bbbe7319350dffc73f0dd9a4d6c9242d19d1bb540f51a8","isBugfix":0.9805,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9795,"feature":0.0036,"refactor":0.0063,"tests_only":0.006,"docs_only":0.0023,"dependency":0.0023},"confidence":0.9513},"scope":{"score":0.52,"probabilities":{"0":0.5967,"1":0.2866,"2":0.1167},"confidence":0.1777},"risk":{"score":0.3154,"probabilities":{"0":0.7454,"1":0.1938,"2":0.0608},"confidence":0.3953},"area":{"choice":"catalog","probabilities":{"catalog":0.9247,"checkout":0.0067,"customer":0.0045,"admin":0.0194,"graphql_api":0.0083,"framework":0.0131,"frontend":0.0153,"other":0.008},"confidence":0.8354},"securityRelevant":0.0073,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0052,"2.4.0-p1":0.0055,"2.4.1":0.0076,"2.4.1-p1":0.0068,"2.4.2":0.0099,"2.4.2-p1":0.0085,"2.4.2-p2":0.0107,"2.4.3":0.0134,"2.4.3-p1":0.0133,"2.4.3-p2":0.0121,"2.4.3-p3":0.0078,"2.4.4":0.0118,"2.4.4-p1":0.0102,"2.4.4-p10":0.006,"2.4.4-p11":0.0089,"2.4.4-p12":0.007,"2.4.4-p13":0.0073,"2.4.4-p14":0.0081,"2.4.4-p15":0.0058,"2.4.4-p16":0.0078,"2.4.4-p17":0.0059,"2.4.4-p18":0.0048,"2.4.4-p2":0.0027,"2.4.4-p3":0.0037,"2.4.4-p4":0.0036,"2.4.4-p5":0.0043,"2.4.4-p6":0.0044,"2.4.4-p7":0.0047,"2.4.4-p8":0.0046,"2.4.4-p9":0.0044,"2.4.5":0.0111,"2.4.5-p1":0.0116,"2.4.5-p10":0.0065,"2.4.5-p11":0.0099,"2.4.5-p12":0.0072,"2.4.5-p13":0.0069,"2.4.5-p14":0.0065,"2.4.5-p15":0.0062,"2.4.5-p16":0.0063,"2.4.5-p17":0.0062,"2.4.5-p2":0.0027,"2.4.5-p3":0.0044,"2.4.5-p4":0.0054,"2.4.5-p5":0.0048,"2.4.5-p6":0.0051,"2.4.5-p7":0.0048,"2.4.5-p8":0.0039,"2.4.5-p9":0.0039,"2.4.6":0.02,"2.4.6-p1":0.0162,"2.4.6-p10":0.0089,"2.4.6-p11":0.011,"2.4.6-p12":0.0079,"2.4.6-p13":0.0088,"2.4.6-p14":0.0085,"2.4.6-p15":0.0071,"2.4.6-p2":0.0056,"2.4.6-p3":0.0072,"2.4.6-p4":0.0089,"2.4.6-p5":0.0074,"2.4.6-p6":0.0075,"2.4.6-p7":0.0085,"2.4.6-p8":0.0053,"2.4.6-p9":0.0043,"2.4.7":0.014,"2.4.7-p1":0.0108,"2.4.7-p10":0.0067,"2.4.7-p2":0.0079,"2.4.7-p3":0.0126,"2.4.7-p4":0.016,"2.4.7-p5":0.0101,"2.4.7-p6":0.0139,"2.4.7-p7":0.01,"2.4.7-p8":0.0073,"2.4.7-p9":0.0048,"2.4.8":0.0162,"2.4.8-p1":0.014,"2.4.8-p2":0.0145,"2.4.8-p3":0.0135,"2.4.8-p4":0.0134,"2.4.8-p5":0.0102,"2.4.9":0.014,"unspecified":0.3168},"confidence":0.0962},"backportWorthy":{"score":1.3102,"probabilities":{"0":0.21,"1":0.2698,"2":0.5202},"confidence":0.0813}},"curated":{"title":"Catalog URL resource ignores the default scope value of the category is_active","description":"The category is_active value from the Catalog Url resource model in _getCategories does not fall back to the default scope when the store scope has no value. Url.php now uses c.value when a store scope value is defined (c.value_id IS NOT NULL) and the default scope d.value if not.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:25:06.516Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"integration":{"before":"fail","after":"pass","runAt":"2026-10-06T09:25:06.516Z"}}},"2.4.7-p10":{"before":"not-runnable","after":"error","adapted":false,"runAt":"2026-10-06T09:48:13.159Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"integration":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:48:13.159Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38394 details"}