Skip to content

Order Item Status to Enable Downloads is set to "Pending," but no download links are presented in "My Downloads" when logged in (fix provided) #21753

@crankycyclops

Description

@crankycyclops

Preconditions (*)

  1. Magento 2.2.7
  2. PHP 7.1

Steps to reproduce (*)

  1. Login to the admin and set Stores -> Configuration -> Catalog -> Downloadable Product Options -> Order Item Status to Enable Downloads to "Pending"
  2. Create a user account on the frontend and login
  3. Purchase a downloadable product. The product should be placed in the "pending" state after successful completion of payment.
  4. Browse to "My Account" -> "My Downloads" and observe that the products, while in pending status and allowed to be downloaded according to the admin setting, do not display download links.

Expected result (*)

If Stores -> Configuration -> Catalog -> Downloadable Product Options -> Order Item Status to Enable Downloads is set tp "Pending," the "My Downloads" page should contain a list of download links, not just names of the products.

Actual result (*)

Only the names of the pending products are displayed, and no download product links are displayed beside them.

I've provided a patch to core below that fixes the issue in case it's useful.

Proposed Solution

I've submitted a pull request which references this issue.

Metadata

Metadata

Assignees

Labels

Component: DownloadableFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: 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 developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions