Bug 7220

Summary: Toaster throws an error when you try to download unavailable artifacts
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, stanciux.mihail
Version: unspecified   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: download artifacts
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 7206    
Attachments:
Description Flags
error.txt
none
Design - Handling unavailable artifacts none

Description Belen Barros Pena 2015-01-21 12:02:44 UTC
Created attachment 2352 [details]
error.txt

The error is attached (error.txt). Toaster should handle unavailable artifacts as shown in the attached design document, instead of falling apart.
Comment 1 Belen Barros Pena 2015-01-21 12:03:38 UTC
Created attachment 2353 [details]
Design - Handling unavailable artifacts
Comment 2 Alexandru Damian 2015-02-17 10:04:27 UTC
Pushed for review with changes to design

poky-contrib:adamian/201502016_download_bugs_72207206

Checking if the artifact exists is an expensive operation; the change brings in an error page displayed if the artifact is not available for download, instead of checking prior to displaying a download icon.
Comment 3 Alexandru Damian 2015-02-20 13:34:25 UTC
Merged in master.
Comment 4 Mihail Stanciu 2015-03-25 14:59:02 UTC
Verified on master: 369932178fe9e7aa4a6d0e2ef1e2e539be701d02