{"data":{"id":"magento2-31231","source":"github-pr","sourceRef":"magento/magento2#31231","title":"Inconsistent labels for attributes in marketing rules","pr":{"number":31231,"url":"https://github.com/magento/magento2/pull/31231","author":"DmitryFurs","mergedAt":"2025-03-05T08:48:55Z","mergeCommit":"c6d874311aa5c5c4e1156eb33a36da7423ffc3db","headCommit":"afa0d8a6e5e76de0ca12fc6d77b2f5bf096729a5","baseRef":"2.4-develop","diffSha256":"e7f0a9a6f6fa51fe25242dad551729724d5e089c74257bf37a049133b9b95d0a"},"issues":[{"number":31232,"url":"https://github.com/magento/magento2/issues/31232","title":"[Issue] Inconsistent labels for attributes in marketing rules","labels":["Area: Admin UI","Component: SalesRule","Issue: Confirmed","Priority: P4","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Severity: S4","stale issue"],"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":"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":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","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":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","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-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-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-rule"],"files":[{"path":"app/code/Magento/SalesRule/Model/Rule/Condition/Product.php","change":"modified","package":"magento/module-sales-rule"},{"path":"app/code/Magento/SalesRule/i18n/en_US.csv","change":"modified","package":"magento/module-sales-rule"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":14,"mergeBatched":false,"excluded":null,"sections":{"description":"In task MAGETWO-94407, functionality was added for correct operation of marketing rules with configurable products. But additional labels for attributes are inconsistent. Some of them do not contain spaces, and some have a different style of writing words, some uppercase, and some uppercase letters.","stepsToReproduce":"1. Create **Cart Price Rule** or **Catalog Price Rule** rule\n2. Add **Product attribute combination** section\n3. Сheck the category and attribute options\n\n![image](https://user-images.githubusercontent.com/1055999/101656853-3cffe800-3a54-11eb-88af-8069577b3910.png)","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Admin UI"],"component":["SalesRule"],"priority":"P4","severity":"S4","reportedOn":["2.4.x"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"c7eada9a1a8ea7e5fb4c890b34bf4659f2f1cd9621b952b751fd42d0b0438ac5","isBugfix":0.8521,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9119,"feature":0.0088,"refactor":0.0438,"tests_only":0.0047,"docs_only":0.0094,"dependency":0.0038,"cleanup":0.0176},"confidence":0.8064},"scope":{"score":0.5477,"probabilities":{"0":0.4925,"1":0.4674,"2":0.0401},"confidence":0.1939},"risk":{"score":0.195,"probabilities":{"0":0.8532,"1":0.0986,"2":0.0482},"confidence":0.61},"area":{"choice":"admin","probabilities":{"catalog":0.0799,"checkout":0.0346,"customer":0.0087,"admin":0.7874,"graphql_api":0.0075,"framework":0.0159,"frontend":0.0182,"other":0.0478},"confidence":0.5778},"securityRelevant":0.0046,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0075,"2.4.0-p1":0.0078,"2.4.1":0.0128,"2.4.1-p1":0.0133,"2.4.2":0.0182,"2.4.2-p1":0.0238,"2.4.2-p2":0.0236,"2.4.3":0.0354,"2.4.3-p1":0.0505,"2.4.3-p2":0.0248,"2.4.3-p3":0.0148,"2.4.4":0.0401,"2.4.4-p1":0.0405,"2.4.4-p10":0.0098,"2.4.4-p11":0.0141,"2.4.4-p12":0.0101,"2.4.4-p13":0.0095,"2.4.4-p14":0.011,"2.4.4-p15":0.0078,"2.4.4-p16":0.0086,"2.4.4-p17":0.0073,"2.4.4-p18":0.0068,"2.4.4-p2":0.0052,"2.4.4-p3":0.0075,"2.4.4-p4":0.0085,"2.4.4-p5":0.0083,"2.4.4-p6":0.0091,"2.4.4-p7":0.0072,"2.4.4-p8":0.0077,"2.4.4-p9":0.0065,"2.4.5":0.0173,"2.4.5-p1":0.0135,"2.4.5-p10":0.0058,"2.4.5-p11":0.0083,"2.4.5-p12":0.0081,"2.4.5-p13":0.0062,"2.4.5-p14":0.0073,"2.4.5-p15":0.0063,"2.4.5-p16":0.006,"2.4.5-p17":0.0058,"2.4.5-p2":0.0042,"2.4.5-p3":0.0071,"2.4.5-p4":0.0081,"2.4.5-p5":0.0062,"2.4.5-p6":0.0062,"2.4.5-p7":0.0073,"2.4.5-p8":0.0052,"2.4.5-p9":0.0043,"2.4.6":0.0165,"2.4.6-p1":0.0158,"2.4.6-p10":0.0067,"2.4.6-p11":0.0075,"2.4.6-p12":0.008,"2.4.6-p13":0.008,"2.4.6-p14":0.0083,"2.4.6-p15":0.005,"2.4.6-p2":0.0041,"2.4.6-p3":0.0055,"2.4.6-p4":0.0093,"2.4.6-p5":0.0062,"2.4.6-p6":0.0056,"2.4.6-p7":0.0066,"2.4.6-p8":0.005,"2.4.6-p9":0.0034,"2.4.7":0.0056,"2.4.7-p1":0.0054,"2.4.7-p10":0.0043,"2.4.7-p2":0.0049,"2.4.7-p3":0.0078,"2.4.7-p4":0.0085,"2.4.7-p5":0.0084,"2.4.7-p6":0.0074,"2.4.7-p7":0.0069,"2.4.7-p8":0.0053,"2.4.7-p9":0.0032,"2.4.8":0.0059,"2.4.8-p1":0.0058,"2.4.8-p2":0.0067,"2.4.8-p3":0.007,"2.4.8-p4":0.0069,"2.4.8-p5":0.008,"2.4.9":0.0067,"unspecified":0.1725},"confidence":0.0322},"backportWorthy":{"score":0.6029,"probabilities":{"0":0.5702,"1":0.2567,"2":0.1731},"confidence":0.1315}},"curated":{"title":"Fixes inconsistent Parent Only and Children Only labels in cart price rules","description":"Additional labels for attributes in marketing rules are inconsistent: some do not contain spaces, and some have a different style of writing words. The change fixes these labels in SalesRule Model Rule Condition Product.php and adds them to SalesRule en_US.csv.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-31231 details"}