Skip to content

[Issue] Fatal error page occurs if use wrong shipment id ,invoice id ,creditmemo id passed in url #30424

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #30410: Fatal error page occurs if use wrong shipment id ,invoice id ,creditmemo id passed in url


Preconditions (*)

Magento 2.4 Develop

Description (*)

Fatal error page occurs if use wrong shipment id ,invoice id ,creditmemo id passed in url

Manual testing scenarios (*)

1.Create An Order In Magento

2.Create invoice, shipment and creditmemo of that Order

3.View the created shipment,invoice and creditmemo

4.Now change the shipment id ,invoiceid and creditmemo id from url(use that id which does not exist) and run the url.

Expected result (*)

A proper error message should come

Actual Result (*)

error page occurs

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Component: SalesComponent: ShippingIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S0A problem that is blocking the ability to work. An immediate fix is needed.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions