Bug 8725

Summary: Impossible to access the command line builds project page (project 1)
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Elliot Smith <elliot.smith>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Medium+ CC: alexandru.costinx.roman, belen.barros.pena, elliot.smith, jessica.zhang, michael.g.wood, stanciux.mihail
Version: 2.0   
Target Milestone: 2.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 8738    
Bug Blocks:    

Description Belen Barros Pena 2015-11-25 11:52:00 UTC
Found in master 03f15e51998a3ef65a5b68cb7cbf724f4388c289

Steps to reproduce:

1. Start toaster in analysis mode (after sourcing the build environment script do 'source toaster start)

2. Build something from the command line (bitbake zlib)

3. Once the build is done, go to the Toaster UI and try to access the 'Command line builds' project. You'll get this error

Sorry, An error has occurred loading this page
Comment 1 Michael Wood 2015-11-25 15:50:00 UTC
(12:01:14) michaelw: It's because there is a {% if not project.is_default %}.... {% endif %} around a lot of the projecttopbar.html

(12:01:51) michaelw: and the projectTopBar tries to initialise the #build-input typeahead which is inside that if statement [and therefore doesn't exist]
Comment 2 Belen Barros Pena 2016-01-12 17:48:22 UTC
I am not sure how this ended up as a medium, but it is quite bad. It should probably be medium+
Comment 3 Elliot Smith 2016-01-13 14:26:20 UTC
This is fixed by my work on 8738 (pending review on the Toaster mailing list: https://lists.yoctoproject.org/pipermail/toaster/2016-January/003632.html).
Comment 4 Elliot Smith 2016-01-13 14:27:22 UTC
See bug 8738
Comment 5 Elliot Smith 2016-01-21 12:46:05 UTC
Fixed on master
Comment 6 Alexandru Roman 2016-01-28 11:49:55 UTC
Verified on master: 3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c