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

Downloadable product is available for download even if order state is set canceled. #8515

Closed
pangteypiyush opened this issue Feb 11, 2017 · 4 comments
Assignees
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@pangteypiyush
Copy link

pangteypiyush commented Feb 11, 2017

Downloadable product is available for download even if order state is set canceled.

Preconditions

  1. Magento 2.1.4
  2. PHP 5.6.30
  3. mysql Ver 14.14 Distrib 5.6.35

Steps to reproduce

  1. Create an order for a downloadable product.
  2. Set order state to STATE_CANCELED programatically.
  3. Goto customer account dashboard, it list the order as 'canceled'.
  4. Now goto "My Downloadable Products" in customer's dashboard, order state referring to downloadable product is listed as 'Available'.

Expected result

State of Downloadable product linked to the order should also change according to the state of the order.

Actual result

Order state changes correctly to "canceled" but inside "My Downloadable Products", the same order is listed as 'Available', allowing customer to download the product even if the order state is cancelled.

@pangteypiyush pangteypiyush changed the title Order state does not get reflected on Downloadable product state. Downloadable product available for download even if order state is set canceled. Feb 11, 2017
@pangteypiyush pangteypiyush changed the title Downloadable product available for download even if order state is set canceled. Downloadable product is available for download even if order state is set canceled. Feb 11, 2017
@vherasymenko vherasymenko self-assigned this Mar 13, 2017
@ishakhsuvarov ishakhsuvarov added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Mar 14, 2017
@Winfle
Copy link
Contributor

Winfle commented Mar 16, 2017

Team Forbytes will take it

@ishakhsuvarov
Copy link
Contributor

Hi @pangteypiyush
Issue has now been fixed in the develop branch with the PR #8917
Thanks for reporting.

@pangteypiyush
Copy link
Author

Thanks everyone!

@magento-team magento-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development develop labels Jul 31, 2017
@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-66506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

5 participants