Skip to content

missing Throw in copy pasted code #26288

Closed
@angelomaragna

Description

@angelomaragna

Preconditions (*)
magento 2.3.3

Steps to reproduce (*)
go to /Magento/Customer/Model/ForgotPasswordToken/GetCustomerByToken.php of magento installation

Expected result (*)
exception should be covered with throw

Actual result (*)
Hi, you've got a problem with file https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Customer/Model/ForgotPasswordToken/GetCustomerByToken.php

image

Check this pull request if you wish: #26287

Metadata

Metadata

Labels

Component: CustomerFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions