{"data":{"id":"magento2-37457","source":"github-pr","sourceRef":"magento/magento2#37457","title":"Fix HTML syntax error in visual.phtml","pr":{"number":37457,"url":"https://github.com/magento/magento2/pull/37457","author":"AntonKryvoruchko","mergedAt":"2024-07-04T16:37:35Z","mergeCommit":"7ec9c5c9c9fb4f2606fd329fe864aee25c4e2cf2","headCommit":"830f1a3af82f5bf20f9f99417e05aaeedc244407","baseRef":"2.4-develop","diffSha256":"c8f496bde3890aaf59e4ce28324916e2d7b2946a52e464a3df49eed7c4d33e41"},"issues":[{"number":38247,"url":"https://github.com/magento/magento2/issues/38247","title":"[Issue] Fix HTML syntax error in visual.phtml","labels":["Area: Other Developer Tools","Issue: Confirmed","Priority: P2","Progress: done","Reproduced on 2.4.x"],"kind":"pr-derived"}],"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":"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-swatches"],"files":[{"path":"app/code/Magento/Swatches/view/adminhtml/templates/catalog/product/attribute/visual.phtml","change":"modified","package":"magento/module-swatches"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":40,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Other Developer Tools"],"component":[],"priority":"P2","severity":null,"reportedOn":[]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"04ea60973477b6e9bb59518f4fcc0c89afc3d2b19a4b536facbf4f419e6bb69e","isBugfix":0.9144,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.8883,"feature":0.0068,"refactor":0.0581,"tests_only":0.0071,"docs_only":0.0088,"dependency":0.0052,"cleanup":0.0257},"confidence":0.7588},"scope":{"score":1.1259,"probabilities":{"0":0.1222,"1":0.6298,"2":0.248},"confidence":0.2097},"risk":{"score":0.6557,"probabilities":{"0":0.377,"1":0.5904,"2":0.0326},"confidence":0.2376},"area":{"choice":"admin","probabilities":{"catalog":0.3198,"checkout":0.0051,"customer":0.0037,"admin":0.5355,"graphql_api":0.0032,"framework":0.0098,"frontend":0.0763,"other":0.0466},"confidence":0.3111},"securityRelevant":0.0378,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0046,"2.4.0-p1":0.0061,"2.4.1":0.0059,"2.4.1-p1":0.0066,"2.4.2":0.0081,"2.4.2-p1":0.0088,"2.4.2-p2":0.0108,"2.4.3":0.0146,"2.4.3-p1":0.0151,"2.4.3-p2":0.0177,"2.4.3-p3":0.0087,"2.4.4":0.015,"2.4.4-p1":0.0113,"2.4.4-p10":0.0079,"2.4.4-p11":0.0089,"2.4.4-p12":0.0077,"2.4.4-p13":0.0075,"2.4.4-p14":0.0087,"2.4.4-p15":0.0066,"2.4.4-p16":0.0083,"2.4.4-p17":0.0063,"2.4.4-p18":0.0054,"2.4.4-p2":0.0034,"2.4.4-p3":0.004,"2.4.4-p4":0.0039,"2.4.4-p5":0.0045,"2.4.4-p6":0.0056,"2.4.4-p7":0.0051,"2.4.4-p8":0.0054,"2.4.4-p9":0.0043,"2.4.5":0.0143,"2.4.5-p1":0.0138,"2.4.5-p10":0.0088,"2.4.5-p11":0.0135,"2.4.5-p12":0.0111,"2.4.5-p13":0.0098,"2.4.5-p14":0.01,"2.4.5-p15":0.008,"2.4.5-p16":0.008,"2.4.5-p17":0.0073,"2.4.5-p2":0.0044,"2.4.5-p3":0.0056,"2.4.5-p4":0.0054,"2.4.5-p5":0.0048,"2.4.5-p6":0.006,"2.4.5-p7":0.0061,"2.4.5-p8":0.0056,"2.4.5-p9":0.0048,"2.4.6":0.0323,"2.4.6-p1":0.0249,"2.4.6-p10":0.015,"2.4.6-p11":0.0131,"2.4.6-p12":0.0128,"2.4.6-p13":0.0112,"2.4.6-p14":0.0112,"2.4.6-p15":0.0085,"2.4.6-p2":0.0053,"2.4.6-p3":0.0077,"2.4.6-p4":0.0101,"2.4.6-p5":0.0075,"2.4.6-p6":0.0129,"2.4.6-p7":0.0091,"2.4.6-p8":0.0069,"2.4.6-p9":0.0063,"2.4.7":0.0163,"2.4.7-p1":0.014,"2.4.7-p10":0.0113,"2.4.7-p2":0.0086,"2.4.7-p3":0.0123,"2.4.7-p4":0.0134,"2.4.7-p5":0.0145,"2.4.7-p6":0.014,"2.4.7-p7":0.0109,"2.4.7-p8":0.0082,"2.4.7-p9":0.006,"2.4.8":0.0173,"2.4.8-p1":0.0151,"2.4.8-p2":0.0145,"2.4.8-p3":0.0155,"2.4.8-p4":0.0146,"2.4.8-p5":0.016,"2.4.9":0.0162,"unspecified":0.1824},"confidence":0.0317},"backportWorthy":{"score":1.0669,"probabilities":{"0":0.326,"1":0.2811,"2":0.3929},"confidence":0.0095}},"curated":{"title":"Store th start tag in the admin visual swatch options table is not closed","description":"In the Swatches adminhtml visual.phtml template, the th start tag for each store in the swatch options table is not closed properly, expected '>'. The change adds the '>' to that th tag and also uses the escaper instead of the block for escapeHtml.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-37457 details"}