{"data":{"id":"magento2-37562","source":"github-pr","sourceRef":"magento/magento2#37562","title":"Order get(Shipments|Creditmemos|Invoice)Collection - Collection should not be loaded","pr":{"number":37562,"url":"https://github.com/magento/magento2/pull/37562","author":"Nuranto","mergedAt":"2025-02-24T07:34:21Z","mergeCommit":"46e930ae1885d2d8a1c41e192ccda27318cc0a73","headCommit":"e75c1999906978187452fa49dde0a9d5395308f0","baseRef":"2.4-develop","diffSha256":"2ac726d304970779bd71eca9c94c02413d64f794be09f030822b7993bc8499ac"},"issues":[{"number":37561,"url":"https://github.com/magento/magento2/issues/37561","title":"Order get(Shipments|Creditmemos|Invoice)Collection - Collection should not be loaded","labels":["Area: Catalog","Area: Framework","Component: Sales","Issue: Confirmed","Priority: P2","Progress: PR in progress","Progress: done","Reported on 2.4.6","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"human"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":"2.4.6","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":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","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"],"components":["magento/module-sales"],"files":[{"path":"app/code/Magento/Sales/Model/Order.php","change":"modified","package":"magento/module-sales"}],"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","Framework"],"component":["Sales"],"priority":"P2","severity":null,"reportedOn":["2.4.6"]},"categories":["Order/Checkout"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"bb33cd8dee96f5224f48899a89e85c58491f8b4069086a46a6529f6ee594c57a","isBugfix":0.7758,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8036,"feature":0.0115,"refactor":0.1674,"tests_only":0.0065,"docs_only":0.0055,"dependency":0.0055},"confidence":0.6088},"scope":{"score":0.5118,"probabilities":{"0":0.5899,"1":0.3084,"2":0.1017},"confidence":0.1801},"risk":{"score":0.5615,"probabilities":{"0":0.5558,"1":0.3269,"2":0.1173},"confidence":0.1443},"area":{"choice":"checkout","probabilities":{"catalog":0.0244,"checkout":0.8012,"customer":0.024,"admin":0.0462,"graphql_api":0.0199,"framework":0.0377,"frontend":0.0149,"other":0.0317},"confidence":0.5981},"securityRelevant":0.0066,"reportedVersion":{"choice":"2.4.6","probabilities":{"2.4.0":0.0033,"2.4.0-p1":0.0031,"2.4.1":0.0025,"2.4.1-p1":0.0027,"2.4.2":0.0029,"2.4.2-p1":0.0028,"2.4.2-p2":0.0031,"2.4.3":0.0039,"2.4.3-p1":0.0036,"2.4.3-p2":0.0038,"2.4.3-p3":0.0034,"2.4.4":0.0033,"2.4.4-p1":0.0032,"2.4.4-p10":0.0045,"2.4.4-p11":0.004,"2.4.4-p12":0.0038,"2.4.4-p13":0.0037,"2.4.4-p14":0.0037,"2.4.4-p15":0.0035,"2.4.4-p16":0.0038,"2.4.4-p17":0.0033,"2.4.4-p18":0.0031,"2.4.4-p2":0.0025,"2.4.4-p3":0.0025,"2.4.4-p4":0.0027,"2.4.4-p5":0.0035,"2.4.4-p6":0.0037,"2.4.4-p7":0.0034,"2.4.4-p8":0.0038,"2.4.4-p9":0.003,"2.4.5":0.0067,"2.4.5-p1":0.0035,"2.4.5-p10":0.0034,"2.4.5-p11":0.0042,"2.4.5-p12":0.0045,"2.4.5-p13":0.0037,"2.4.5-p14":0.0046,"2.4.5-p15":0.0037,"2.4.5-p16":0.0036,"2.4.5-p17":0.004,"2.4.5-p2":0.0028,"2.4.5-p3":0.003,"2.4.5-p4":0.0031,"2.4.5-p5":0.0032,"2.4.5-p6":0.0039,"2.4.5-p7":0.0038,"2.4.5-p8":0.0033,"2.4.5-p9":0.0031,"2.4.6":0.5479,"2.4.6-p1":0.0189,"2.4.6-p10":0.0113,"2.4.6-p11":0.0136,"2.4.6-p12":0.0108,"2.4.6-p13":0.0112,"2.4.6-p14":0.0098,"2.4.6-p15":0.0076,"2.4.6-p2":0.0064,"2.4.6-p3":0.0086,"2.4.6-p4":0.01,"2.4.6-p5":0.0122,"2.4.6-p6":0.0128,"2.4.6-p7":0.0077,"2.4.6-p8":0.0079,"2.4.6-p9":0.0056,"2.4.7":0.0046,"2.4.7-p1":0.0045,"2.4.7-p10":0.004,"2.4.7-p2":0.0039,"2.4.7-p3":0.0064,"2.4.7-p4":0.0067,"2.4.7-p5":0.0055,"2.4.7-p6":0.0087,"2.4.7-p7":0.0052,"2.4.7-p8":0.0041,"2.4.7-p9":0.0033,"2.4.8":0.0053,"2.4.8-p1":0.0055,"2.4.8-p2":0.0058,"2.4.8-p3":0.0071,"2.4.8-p4":0.0064,"2.4.8-p5":0.0087,"2.4.9":0.0062,"unspecified":0.0276},"confidence":0.2955},"backportWorthy":{"score":0.9112,"probabilities":{"0":0.3934,"1":0.3019,"2":0.3047},"confidence":0.0081}},"curated":{"title":"Order getShipmentsCollection and getCreditmemosCollection load the collection","description":"In the Order model, getShipmentsCollection() and getCreditmemosCollection() call load() on the collection they create, but the issue says the collection should not be loaded. The change in Order.php drops the load() call, so both return the collection with only setOrderFilter. The Invoice collection in the issue title is not changed.","categories":["Order/Checkout"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-37562 details"}