Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not crash when shipment does not exist #2683

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Do not crash when shipment does not exist #2683

merged 2 commits into from
Nov 8, 2022

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 6, 2022

Description

Go to Sales / Shipment, open any shipment. In the URL, change the shipment id with an id that does not exist, you will got: no date part in '' found.

OpenMage 20.0.16 / PHP 8.0.25

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@github-actions github-actions bot added Component: Adminhtml Relates to Mage_Adminhtml translations Relates to app/locale labels Nov 6, 2022
sreichel
sreichel previously approved these changes Nov 6, 2022
@fballiano
Copy link
Contributor

should we have the same redirect we have for #2684?

@addison74
Copy link
Contributor

Good observation. A small change is needed before approving this PR.

@elidrissidev elidrissidev merged commit 917d19e into OpenMage:1.9.4.x Nov 8, 2022
@luigifab luigifab deleted the no-shipment branch November 8, 2022 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml translations Relates to app/locale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants