Page MenuHomeIn-Portal Phabricator

MINC-210 - Repair Downloadable products file downloads on the Front-End
Needs ReviewPublic

Authored by alex on Sat, Jul 19, 5:00 AM.

Details

Reviewers
erik
Test Plan
NOTE: Require In-Commerce module to be installed.
  1. login to the Admin Console
  2. go to the Website & ContentStructure & DataProducts section (you should be on the Products tab)
  3. switch to the Sections tab
  4. add a Sub Products section (category)
  5. go to the Website & ContentStructure & DataProductsSub Products section (you should be on the Products tab)
  6. create a downloadable product in Active status with 1 file in it
  7. login to the Front-End
  8. go to the Products > Sub Products category and buy the above-created product
  9. go to the Admin Console
  10. go to the {anv E-commerce > Orders} section (you should be on the Pending tab)
  11. confirm that just submitted sales order is shown in there
  12. select just submitted sales order
  13. click on the Approve toolbar button
  14. confirm that the sales order is longer shown in the Pending orders grid
  15. go to the Front-End
  16. click on the My Downloads link in the side bar
  17. click the Download Now toolbar button
  18. confirm that the downloaded file matches (by content) the file used when creating a downloadable product

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint ErrorsExcuse: Unrelated
SeverityLocationCodeMessage
Errormodules/in-commerce/units/downloads/download_helper.php:53PHPCS.E.CodingStandard.Commenting.InlineComment.InvalidEndCharCodingStandard.Commenting.InlineComment.InvalidEndChar
Errormodules/in-commerce/units/downloads/download_helper.php:53PHPCS.E.CodingStandard.Commenting.InlineComment.NotCapitalCodingStandard.Commenting.InlineComment.NotCapital
Errormodules/in-commerce/units/downloads/download_helper.php:77PHPCS.E.CodingStandard.Classes.ClassDeclaration.SpaceBeforeCloseBraceCodingStandard.Classes.ClassDeclaration.SpaceBeforeCloseBrace
Errormodules/in-commerce/units/downloads/download_helper.php:77PHPCS.E.Generic.WhiteSpace.ScopeIndent.IncorrectExactGeneric.WhiteSpace.ScopeIndent.IncorrectExact
Unit
No Unit Test Coverage
Build Status
Buildable 11101
Build 3801: arc lint + arc unit

Event Timeline

alex created this revision.Sat, Jul 19, 5:00 AM
alex requested review of this revision.Sat, Jul 19, 5:00 AM
alex edited the test plan for this revision. (Show Details)Sat, Jul 19, 5:00 AM