Bug 9111

Summary: Custom images should not be listed in the image recipes table
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Dave Lerner <dave.lerner>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium CC: alexandru.costinx.roman, belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.0   
Target Milestone: 2.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
atk looks ok first time none

Description Belen Barros Pena 2016-02-12 18:11:27 UTC
Currently, the table of image recipes is showing all images. This is the query we use in tables.py

self.queryset = self.queryset.filter(is_image=True)

But that shows all images, including custom ones. This table should exclude the custom images, which have their own page, and show only the image recipes provided by "normal" layers.
Comment 1 Dave Lerner 2016-02-12 22:20:18 UTC
Created attachment 2980 [details]
atk looks ok first time
Comment 2 Dave Lerner 2016-02-25 18:39:08 UTC
Pushed to toaster-next
Comment 3 Alexandru Roman 2016-02-29 13:51:41 UTC
Verified on master: 4006a7f2762ccd5dcbc6cdff49482d4387a73261