Created attachment 2679 [details] This is the screenshot where user can see an extra check box near console-image When tried building console-image ( from meta-mentor ), toaster UI shows an extra check box in : Most built recipes section. How to reproduce: 1) Build console-image ( or any other image ) 2) You can break the build ( Ctrl + C ) or wait till the image gets finished. 3) Verify "All Projects" page. User can see one check box followed by console-image in the Most built recipes section. 4) Continue step 1 to step 2 5) Verify "All Projects" page. User can see an extra check box followed by console-image in the Most built recipes section.
Re-assigning to myself.
There is an issue I have noticed in the table bldcontrol_brtarget. When user tries to build an image/recipe lets say, console-image ( from meta-mentor ) the table is updated properly. That is: 1|1|console-image| Second time when user selects console-image and triggers build by clicking "Build selected recipes", the table gets updated as: 1|1|console-image| 2|2|console-image| 3|2|| And third time when same process is repeated: 1|1|console-image| 2|2|console-image| 3|2|| 4|3|console-image| 5|3|| I am not able understand in which part of code updates the brtarget. Though a small work around I have is: a) fix in the projectpage.js by removing empty string in the recipes variable. b) Make req_id as primary key? It would be helpful if I can get some pointers to figure out how brtarget is getting updated when "Build selected recipes" button gets clicked.
Marking this task as resolved. The changes got merged to bitbake repo: http://git.openembedded.org/bitbake/commit/?id=742d15beaf7e2bb8b61ed61b1a26909d16de0eac
Verified on master: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1