{"data":{"id":"ACSD-59366","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes an error that occurs when attempting to delete a team that contains deactivated users who are not visible in the team list. While deleting a team with child users or teams irrespective of their status (inactive) via GraphQL, the system now provides an informative error message that is consistent with UI.","categories":["B2B"],"components":["magento/module-company","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-52/acsd-59366-delete-teams-with-deactivated-users-not-visible-in-the-team-list","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-52/acsd-59366-delete-teams-with-deactivated-users-not-visible-in-the-team-list.md","blobSha":"4fb86b248e0222e3570a1520152c97b975e53ae2","description":"An error occurs when you delete a team that contains deactivated users who are not visible in the team list.","stepsToReproduce":"1. Create and log in with a company user. 1. Under company structure, create a new team. 1. Under the new team, create a new user. 1. Edit the new user and deactivate. 1. Select the team and delete.","introducedInQpt":"1.1.52","createdFor":["2.4.6"],"documentedRange":"2.4.6 - 2.4.7-p3","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.5 <1.4.3","path":"patches/commerce/ACSD-59366_1.3.5.patch","blobSha":"7ea735f11e5430fa16133ec5131efdd05abf3f6c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-59366_1.3.5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Controller/Team/Check.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/Model/Team/Delete.php","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/i18n/en_US.csv","change":"modified","package":"magento/module-company"},{"path":"vendor/magento/module-company/view/frontend/templates/company/management.phtml","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-graph-ql/Model/Resolver/DeleteCompanyTeam.php","change":"modified","package":"magento/module-company-graph-ql"}],"packages":["magento/module-company","magento/module-company-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"Can not delete team with id *vendor/webonyx/graphql-php/src/Error/Error.php"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-59366 details"}