{"data":{"id":"ACSD-64627","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where custom customer attributes can't be saved when adding or editing users within the Company Structure.","categories":["B2B"],"components":["magento/module-company"],"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-64627-fixes-saving-issues-for-custom-attributes-in-user-profiles","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-63/acsd-64627-fixes-saving-issues-for-custom-attributes-in-user-profiles.md","blobSha":"6efaa775ee2e7f0c9357a89fd42da46466d34705","description":"Custom customer attributes don't save when adding or editing users on the Company Structure page.","stepsToReproduce":"1. Install an Adobe Commerce instance with B2B features enabled. 1. Create a new customer attribute named custom_upload with the Input Type set to File (attachment). 1. Create another customer attribute named image_attachment with the Input Type set to Image File. 1. Set Show on Storefront to Yes to make both the attributes visible on the storefront. Select all forms: * Customer Registration * Customer Account Edit * Admin Checkout 1. Create and activate a new company. 1. Sign in to the storefront as the company admin. 1. Navigate to Customer Account > Company Structure or Customer Account > Company Users. 1. Click Add New User. 1. Click Upload for the custom_upload attribute. 1. Click Select file for the image_attachment attribute.","introducedInQpt":"1.1.63","createdFor":["2.4.7-p3","2.4.7-p4","2.4.8"],"documentedRange":"2.4.6-p8, 2.4.7-p3, 2.4.7-p4, 2.4.8","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.5.0 <1.5.1","path":"patches/commerce/ACSD-64627_1.5.0.patch","blobSha":"0f2a5398844e563858c21cc9d6477785238c1dff","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-64627_1.5.0.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Controller/Customer/Get.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Action/Customer/Populator.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Action/SaveCustomer.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/CompanyUserHydrator.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/CustomAttributeHandler.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/UserDefinedAttributes.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/CustomerCustomAttributes/Index/ViewfilePlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/View/LayoutPlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/ViewModel/FileAttribute.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/di.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/frontend/di.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/layout/company_index_index.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/layout/company_users_index.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/templates/form/renderer/image.phtml","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/component/file-uploader.js","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree-popup.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/user-edit.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/template/form/element/uploader/preview.html","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/template/form/element/uploader/uploader.html","change":"added","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p3","2.4.6-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-b2b-base","constraint":">=1.5.1 <1.5.2","path":"patches/commerce/ACSD-65084_1.5.1.patch","blobSha":"2075a98917179a08d7891ec4bbe1fc1093ac81f5","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-65084_1.5.1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Controller/Customer/Get.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Action/Customer/Populator.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Action/SaveCustomer.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/CompanyUserHydrator.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/CustomAttributeHandler.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Customer/UserDefinedAttributes.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/CustomerCustomAttributes/Index/ViewfilePlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/View/LayoutPlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/ViewModel/FileAttribute.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/di.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/frontend/di.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/layout/company_index_index.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/layout/company_users_index.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/templates/form/renderer/image.phtml","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/component/file-uploader.js","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree-popup.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/user-edit.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/template/form/element/uploader/preview.html","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/template/form/element/uploader/uploader.html","change":"added","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p4","2.4.6-p9"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-b2b-base","constraint":">=1.5.2 <1.5.3","path":"patches/commerce/ACSD-65553_1.5.2.patch","blobSha":"9ac5162c05ee7658d3dde28af0b5e50202e1d303","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-65553_1.5.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Model/Customer/CustomAttributeHandler.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/CustomerCustomAttributes/Index/ViewfilePlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Plugin/View/LayoutPlugin.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/frontend/di.xml","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/templates/form/renderer/image.phtml","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree-popup.js","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/web/js/hierarchy-tree.js","change":"modified","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-64627 details"}