Description
Preconditions and environment
Adobe Commerce
- Magento version : 2.4.5
Steps to reproduce
We already 2 composer patch in m2-hotfixes folder as below
AC-12485_Hotfix.composer.patch
VULN-27015-2.4.5x_v2.composer.patch
Then we added file vuln-28982-2-4-5x-v2-composer.patch
when we commit and push it in shows failure.
Expected result
The patch should be applied.
Actual result
Git commit shows failure
Applying hot-fixes
Patch ../m2-hotfixes/AC-12485_Hotfix.composer.patch was already applied
Patch ../m2-hotfixes/VULN-27015-2.4.5x_v2.composer.patch was already applied
Error: patch /app/m2-hotfixes/vuln-28982-2-4-5x-v2-composer.patch can't be applied
Start of rollback
Patch ../M2-HOTFIXES/VULN-27015-2.4.5X_V2.COMPOSER.PATCH has been reverted
Patch ../M2-HOTFIXES/AC-12485_HOTFIX.COMPOSER.PATCH wasn't applied
End of rollback
Magento 2 B2B Edition, version 2.4.5.0
Applying patch /app/m2-hotfixes/vuln-28982-2-4-5x-v2-composer.patch failed.
error: patch failed: vendor/magento/module-customer/Model/AccountManagement.php:879
error: vendor/magento/module-customer/Model/AccountManagement.php: patch does not apply
error: patch failed: vendor/magento/module-customer/Model/AccountManagementApi.php:6
error: vendor/magento/module-customer/Model/AccountManagementApi.php: patch does not apply
error: vendor/magento/module-customer/Plugin/AsyncRequestCustomerGroupAuthorization.php: already exists in working directory
error: vendor/magento/module-customer/Test/Unit/Model/AccountManagementApiTest.php: already exists in working directory
error: patch failed: vendor/magento/module-customer/Test/Unit/Model/AccountManagementTest.php:1222
error: vendor/magento/module-customer/Test/Unit/Model/AccountManagementTest.php: patch does not apply
error: vendor/magento/module-customer/Test/Unit/Plugin/AsyncRequestCustomerGroupAuthorizationTest.php: already exists in working directory
error: patch failed: vendor/magento/module-customer/composer.json:35
error: vendor/magento/module-customer/composer.json: patch does not apply
and so on...
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status