Skip to content

File custom option download link for order doesn't work after quote is removed by sales_clean_quotes cron #29957

@piuga

Description

@piuga

Additional information

Due to #29957 (comment) still actual on 2.4-develop

Preconditions (*)

  1. Magento 2.4-develop
  2. Magento 2.3.5-p2

Steps to reproduce (*)

  1. Create product with custom option file
  2. In front-end place an order with this product, with any image
  3. In back-end go to order and download custom option file -> it works fine, as expected
  4. Set, for example, 1 day for quote lifetime under: Stores / Configurations / Sales / Checkout / Shopping Cart / Quote Lifetime
  5. After 1 day, cron will remove the quote
  6. Go back to order in admin panel and download custom option file -> it shows 404 page

Expected result (*)

  1. Download link, for order item with a file custom option, should work after quote is removed.

Actual result (*)

  1. After 'sales_clean_quotes' cron runs, for all orders, which have items with file custom option and for which the quote was removed, the download link does not work.

Peek 2020-12-02 10-39


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Component: QuoteComponent: SalesIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: needs updateAdditional information is require, waiting for responseIssue: ready for confirmationPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.5-p2Indicates original Magento version for the Issue report.Severity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions