{"data":{"id":"ACSD-65195","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the GraphQL mutation `createCompany` throws an error for a country without a required region.","categories":["B2B"],"components":["magento/module-company-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-63/acsd-65195-fixes-the-issue-where-the-graphql-mutation-createcompany","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-63/acsd-65195-fixes-the-issue-where-the-graphql-mutation-createcompany.md","blobSha":"9f777984217fa6da4949ec20ee07e52ab8733608","description":"The GraphQL createCompany mutation returns an error when a region is specified for a country that doesn't require one.","stepsToReproduce":"1. Enable B2B Companies. 1. Send the createCompany GraphQL mutation with a specified region field for a country that doesn't require one. For example: country_id: AE and region: Dubai. 1. Check the GraphQL response.","introducedInQpt":"1.1.63","createdFor":["2.4.7-p3"],"documentedRange":"2.4.4 - 2.4.6-p9, 2.4.7 - 2.4.7-p4","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.3 <1.5.2","path":"patches/commerce/ACSD-65195_1.5.0.patch","blobSha":"3f6aef9d6e3da4053d0c8a1ec452449a3fc782d5","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-65195_1.5.0.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company-graph-ql/Model/Company/PrepareCompanyData.php","change":"modified","package":"magento/module-company-graph-ql"},{"path":"vendor/magento/module-company-graph-ql/Model/Resolver/Company/LegalAddress.php","change":"modified","package":"magento/module-company-graph-ql"}],"packages":["magento/module-company-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"report.ERROR: Invalid value of \"*\" provided for the region field."}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-65195 details"}