{"data":{"id":"magento2-38886","source":"github-pr","sourceRef":"magento/magento2#38886","title":"Object Manager not used for Magento\\Csp\\Model\\Mode\\Data\\ModeConfigured","pr":{"number":38886,"url":"https://github.com/magento/magento2/pull/38886","author":"pmzandbergen","mergedAt":"2024-12-24T15:16:03Z","mergeCommit":"a0b4e0a5bba8b68698fc796e82b7f88789965f8c","headCommit":"bcb6d69789b9efd484a769acd3e4382a4fb4c019","baseRef":"2.4-develop","diffSha256":"9481f6b515e5fd0d698b2988bab96977f34c36a7f2df28e4ea75a5021d6009ba"},"issues":[{"number":38875,"url":"https://github.com/magento/magento2/issues/38875","title":"Object Manager not used for Magento\\Csp\\Model\\Mode\\Data\\ModeConfigured","labels":["Area: Framework","Component: Framework/Code","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.x","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":null,"codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","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-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-csp"],"files":[{"path":"app/code/Magento/Csp/Model/Mode/ConfigManager.php","change":"modified","package":"magento/module-csp"}],"stripped":{"tests":["app/code/Magento/Csp/Test/Unit/Model/Mode/ConfigManagerTest.php"],"docs":[],"outsideCode":[]},"linesChanged":25,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Framework"],"component":["Framework/Code"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"bd690d77961bd77ec2806617ec22bc006618cc1133ecb3aedb74eb0aa5fa3e06","isBugfix":0.6052,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.5211,"feature":0.0099,"refactor":0.4084,"tests_only":0.0086,"docs_only":0.0023,"dependency":0.0041,"cleanup":0.0456},"confidence":0.3475},"scope":{"score":0.8421,"probabilities":{"0":0.3372,"1":0.4835,"2":0.1793},"confidence":0.0694},"risk":{"score":0.29,"probabilities":{"0":0.7336,"1":0.2428,"2":0.0236},"confidence":0.3965},"area":{"choice":"framework","probabilities":{"catalog":0.0061,"checkout":0.005,"customer":0.0046,"admin":0.0229,"graphql_api":0.0056,"framework":0.8921,"frontend":0.018,"other":0.0457},"confidence":0.7702},"securityRelevant":0.1428,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0051,"2.4.0-p1":0.0052,"2.4.1":0.006,"2.4.1-p1":0.0048,"2.4.2":0.0081,"2.4.2-p1":0.007,"2.4.2-p2":0.0074,"2.4.3":0.0126,"2.4.3-p1":0.0113,"2.4.3-p2":0.011,"2.4.3-p3":0.0078,"2.4.4":0.015,"2.4.4-p1":0.01,"2.4.4-p10":0.0067,"2.4.4-p11":0.0094,"2.4.4-p12":0.0071,"2.4.4-p13":0.007,"2.4.4-p14":0.0099,"2.4.4-p15":0.0071,"2.4.4-p16":0.0087,"2.4.4-p17":0.0059,"2.4.4-p18":0.0056,"2.4.4-p2":0.0027,"2.4.4-p3":0.0038,"2.4.4-p4":0.0035,"2.4.4-p5":0.0043,"2.4.4-p6":0.0054,"2.4.4-p7":0.0049,"2.4.4-p8":0.005,"2.4.4-p9":0.0046,"2.4.5":0.0129,"2.4.5-p1":0.0118,"2.4.5-p10":0.0076,"2.4.5-p11":0.0124,"2.4.5-p12":0.0092,"2.4.5-p13":0.0092,"2.4.5-p14":0.0084,"2.4.5-p15":0.0069,"2.4.5-p16":0.0079,"2.4.5-p17":0.0072,"2.4.5-p2":0.0042,"2.4.5-p3":0.0056,"2.4.5-p4":0.005,"2.4.5-p5":0.0067,"2.4.5-p6":0.0066,"2.4.5-p7":0.0074,"2.4.5-p8":0.0056,"2.4.5-p9":0.0053,"2.4.6":0.0236,"2.4.6-p1":0.0149,"2.4.6-p10":0.0095,"2.4.6-p11":0.0134,"2.4.6-p12":0.0107,"2.4.6-p13":0.011,"2.4.6-p14":0.0103,"2.4.6-p15":0.0086,"2.4.6-p2":0.0048,"2.4.6-p3":0.0076,"2.4.6-p4":0.0094,"2.4.6-p5":0.0087,"2.4.6-p6":0.0127,"2.4.6-p7":0.0088,"2.4.6-p8":0.0077,"2.4.6-p9":0.0054,"2.4.7":0.0149,"2.4.7-p1":0.0129,"2.4.7-p10":0.0079,"2.4.7-p2":0.0078,"2.4.7-p3":0.0129,"2.4.7-p4":0.0165,"2.4.7-p5":0.013,"2.4.7-p6":0.0155,"2.4.7-p7":0.0125,"2.4.7-p8":0.01,"2.4.7-p9":0.0065,"2.4.8":0.0205,"2.4.8-p1":0.0163,"2.4.8-p2":0.0154,"2.4.8-p3":0.0154,"2.4.8-p4":0.016,"2.4.8-p5":0.0143,"2.4.9":0.0166,"unspecified":0.2352},"confidence":0.0525},"backportWorthy":{"score":1.0958,"probabilities":{"0":0.2897,"1":0.3248,"2":0.3855},"confidence":0.007}},"curated":{"title":"Uses the Object Manager to create ModeConfigured in the CSP ConfigManager","description":"In the Csp ConfigManager, getConfigured() returns new ModeConfigured, so the Object Manager is not used for Magento\\Csp\\Model\\Mode\\Data\\ModeConfigured. The ConfigManager now has a ModeConfiguredFactory and uses it to create the object with reportOnly and reportUri.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.7-p10":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:29:19.227Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:29:19.227Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38886 details"}