{"data":{"id":"magento2-39867","source":"github-pr","sourceRef":"magento/magento2#39867","title":"xsd validation fails on etc/adminhtml/system.xml files that contain comments below field items.","pr":{"number":39867,"url":"https://github.com/magento/magento2/pull/39867","author":"jakwinkler","mergedAt":"2025-08-07T18:24:22Z","mergeCommit":"396a774ac4ab08f134e117a88df7e2e063560ea2","headCommit":"a8058d6a21d62d1982ef6bc26a748ac1422bf060","baseRef":"2.4-develop","diffSha256":"3c56e07c9c705d97891f0c109711fe81791760dd6207d1fa5b225747806113c5"},"issues":[{"number":39148,"url":"https://github.com/magento/magento2/issues/39148","title":"xsd validation fails on etc/adminhtml/system.xml files that contain comments below field items.","labels":["Area: Framework","Component: Xml","Issue: Confirmed","Priority: P2","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-config"],"files":[{"path":"app/code/Magento/Config/etc/system_file.xsd","change":"modified","package":"magento/module-config"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":26,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Framework"],"component":["Xml"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"aa6f51be382345a98635d02326f1fd5f3b4327007b69f4ede0ca6aadaccf8ee8","isBugfix":0.7409,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8821,"feature":0.0148,"refactor":0.0399,"tests_only":0.009,"docs_only":0.0183,"dependency":0.0102,"cleanup":0.0257},"confidence":0.7447},"scope":{"score":1.068,"probabilities":{"0":0.2124,"1":0.5072,"2":0.2804},"confidence":0.0715},"risk":{"score":0.2118,"probabilities":{"0":0.8315,"1":0.1253,"2":0.0432},"confidence":0.5634},"area":{"choice":"framework","probabilities":{"catalog":0.0113,"checkout":0.0068,"customer":0.0062,"admin":0.1724,"graphql_api":0.0073,"framework":0.7355,"frontend":0.0116,"other":0.0489},"confidence":0.5125},"securityRelevant":0.0046,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0048,"2.4.0-p1":0.005,"2.4.1":0.0045,"2.4.1-p1":0.0039,"2.4.2":0.0064,"2.4.2-p1":0.0052,"2.4.2-p2":0.0072,"2.4.3":0.0095,"2.4.3-p1":0.0092,"2.4.3-p2":0.009,"2.4.3-p3":0.0077,"2.4.4":0.0121,"2.4.4-p1":0.0066,"2.4.4-p10":0.007,"2.4.4-p11":0.0083,"2.4.4-p12":0.0069,"2.4.4-p13":0.007,"2.4.4-p14":0.0084,"2.4.4-p15":0.0061,"2.4.4-p16":0.007,"2.4.4-p17":0.006,"2.4.4-p18":0.0051,"2.4.4-p2":0.0031,"2.4.4-p3":0.0033,"2.4.4-p4":0.0034,"2.4.4-p5":0.0037,"2.4.4-p6":0.0041,"2.4.4-p7":0.0044,"2.4.4-p8":0.0043,"2.4.4-p9":0.0039,"2.4.5":0.0111,"2.4.5-p1":0.0097,"2.4.5-p10":0.0073,"2.4.5-p11":0.0109,"2.4.5-p12":0.0093,"2.4.5-p13":0.0071,"2.4.5-p14":0.0086,"2.4.5-p15":0.006,"2.4.5-p16":0.0078,"2.4.5-p17":0.0068,"2.4.5-p2":0.0036,"2.4.5-p3":0.0053,"2.4.5-p4":0.005,"2.4.5-p5":0.0053,"2.4.5-p6":0.0056,"2.4.5-p7":0.0054,"2.4.5-p8":0.0053,"2.4.5-p9":0.0048,"2.4.6":0.024,"2.4.6-p1":0.0154,"2.4.6-p10":0.0109,"2.4.6-p11":0.0133,"2.4.6-p12":0.0123,"2.4.6-p13":0.0103,"2.4.6-p14":0.0108,"2.4.6-p15":0.0079,"2.4.6-p2":0.0046,"2.4.6-p3":0.0068,"2.4.6-p4":0.0083,"2.4.6-p5":0.0067,"2.4.6-p6":0.0084,"2.4.6-p7":0.0075,"2.4.6-p8":0.0058,"2.4.6-p9":0.0054,"2.4.7":0.0184,"2.4.7-p1":0.0127,"2.4.7-p10":0.0102,"2.4.7-p2":0.0082,"2.4.7-p3":0.0128,"2.4.7-p4":0.014,"2.4.7-p5":0.0113,"2.4.7-p6":0.0128,"2.4.7-p7":0.0123,"2.4.7-p8":0.009,"2.4.7-p9":0.006,"2.4.8":0.0226,"2.4.8-p1":0.018,"2.4.8-p2":0.0162,"2.4.8-p3":0.0162,"2.4.8-p4":0.0146,"2.4.8-p5":0.0137,"2.4.9":0.0143,"unspecified":0.2903},"confidence":0.0808},"backportWorthy":{"score":0.5671,"probabilities":{"0":0.5907,"1":0.2514,"2":0.1579},"confidence":0.1557}},"curated":{"title":"Comments below system.xml field items fail XSD validation","description":"XSD validation fails on etc/adminhtml/system.xml files that contain comments below field items, and phpstorm code highlight is poor with URN schemas. In system_file.xsd the comment of a field now uses a new commentType with text, an optional model element and a model attribute, and the old comment element is removed.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39867 details"}