Open
Description
Preconditions (*)
- Magento 2.4-develop
- Magento 2.3.5-p1
Steps to reproduce (*)
- Use a custom carrier with underscore in his name eg. aa_bb
- retrieve the shipping method as an object eg.
$shipping = $order->getShippingMethod(true)
- get the carrier_code
$code = $shipping->getCarrierCode()
Expected result (*)
- $code should be aa_bb
Actual result (*)
- $code is aa while $shipping->getMethod() is bb_method
Related to this: #13902
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- 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
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.