{"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":"66569a2f9556d210a83915c1861405b1c28865097a8c664855d706554464b90e","isBugfix":0.9809,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9728,"feature":0.0038,"refactor":0.0057,"tests_only":0.0064,"docs_only":0.0022,"dependency":0.0022,"cleanup":0.0069},"confidence":0.9375},"scope":{"score":0.563,"probabilities":{"0":0.5666,"1":0.3038,"2":0.1296},"confidence":0.1452},"risk":{"score":0.3192,"probabilities":{"0":0.7423,"1":0.1962,"2":0.0615},"confidence":0.3899},"area":{"choice":"catalog","probabilities":{"catalog":0.9189,"checkout":0.0074,"customer":0.005,"admin":0.0209,"graphql_api":0.009,"framework":0.0153,"frontend":0.0157,"other":0.0078},"confidence":0.8236},"securityRelevant":0.0073,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0057,"2.4.0-p1":0.006,"2.4.1":0.0084,"2.4.1-p1":0.0068,"2.4.2":0.0097,"2.4.2-p1":0.0089,"2.4.2-p2":0.0119,"2.4.3":0.0148,"2.4.3-p1":0.016,"2.4.3-p2":0.0127,"2.4.3-p3":0.0087,"2.4.4":0.0143,"2.4.4-p1":0.0122,"2.4.4-p10":0.0076,"2.4.4-p11":0.0103,"2.4.4-p12":0.0085,"2.4.4-p13":0.0096,"2.4.4-p14":0.0105,"2.4.4-p15":0.0071,"2.4.4-p16":0.0088,"2.4.4-p17":0.0073,"2.4.4-p18":0.0061,"2.4.4-p2":0.0033,"2.4.4-p3":0.0042,"2.4.4-p4":0.0046,"2.4.4-p5":0.0049,"2.4.4-p6":0.0055,"2.4.4-p7":0.006,"2.4.4-p8":0.0059,"2.4.4-p9":0.0053,"2.4.5":0.0135,"2.4.5-p1":0.0127,"2.4.5-p10":0.0072,"2.4.5-p11":0.0099,"2.4.5-p12":0.0087,"2.4.5-p13":0.0077,"2.4.5-p14":0.0077,"2.4.5-p15":0.0071,"2.4.5-p16":0.0077,"2.4.5-p17":0.007,"2.4.5-p2":0.0035,"2.4.5-p3":0.0053,"2.4.5-p4":0.006,"2.4.5-p5":0.0054,"2.4.5-p6":0.0057,"2.4.5-p7":0.0062,"2.4.5-p8":0.0049,"2.4.5-p9":0.0043,"2.4.6":0.0202,"2.4.6-p1":0.0185,"2.4.6-p10":0.0107,"2.4.6-p11":0.0115,"2.4.6-p12":0.0093,"2.4.6-p13":0.0102,"2.4.6-p14":0.0096,"2.4.6-p15":0.0078,"2.4.6-p2":0.0056,"2.4.6-p3":0.0083,"2.4.6-p4":0.0102,"2.4.6-p5":0.0082,"2.4.6-p6":0.0092,"2.4.6-p7":0.0091,"2.4.6-p8":0.0062,"2.4.6-p9":0.0051,"2.4.7":0.0141,"2.4.7-p1":0.0107,"2.4.7-p10":0.0078,"2.4.7-p2":0.0083,"2.4.7-p3":0.0137,"2.4.7-p4":0.0184,"2.4.7-p5":0.012,"2.4.7-p6":0.0143,"2.4.7-p7":0.011,"2.4.7-p8":0.0087,"2.4.7-p9":0.0055,"2.4.8":0.0164,"2.4.8-p1":0.0149,"2.4.8-p2":0.016,"2.4.8-p3":0.0156,"2.4.8-p4":0.0157,"2.4.8-p5":0.0121,"2.4.9":0.0166,"unspecified":0.2264},"confidence":0.0483},"backportWorthy":{"score":1.3517,"probabilities":{"0":0.1998,"1":0.2487,"2":0.5515},"confidence":0.1089}},"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"}