Skip to content

Conversation

@rostyslav-hymon
Copy link
Contributor

Original Pull Request

#14629

Description

I have observed that MassAction Unhold is using the collection to release order from hold, whereas MassAction Hold is using Interface to put the order on hold.
So, I have refactor code in app/code/Magento/Sales/Controller/Adminhtml/Order/MassUnhold.php same as in app/code/Magento/Sales/Controller/Adminhtml/Order/MassHold.php

Manual testing scenarios

  1. Go to Sales -> Order
  2. Select any number of orders (orders which are on hold.)
  3. Select Unhold Action from the Action dropdown.

AnshuMishra17 and others added 3 commits April 20, 2018 06:57
I have observed that MassAction Unhold is using the collection to release order from hold, whereas MassAction Hold is using Interface to put the order on hold.
So, I have refactor code in app/code/Magento/Sales/Controller/Adminhtml/Order/MassUnhold.php same as in app/code/Magento/Sales/Controller/Adminhtml/Order/MassHold.php
Added backward compatibility for the new orderManagementInterface dependency and made the variable $orderManagement private.
@magento-engcom-team
Copy link
Contributor

Hi @rostyslav-hymon. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.3.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants