Created attachment 3422 [details] build_artifact_does_not_exist.png Apologies for missing this when designing the feature. It turns out deleting a build can take a little while (at least when you are using sqlite). Sagely, Michael added a progress indicator. However, while the deletion is in progress, you can still dismiss the "delete" dialog, and navigate around the data for the build you are deleting ... until the deletion completes. At that point you will get an ugly error DoesNotExist at /toastergui/build/11/recipes/ Build matching query does not exist. To avoid this we should: 1. Make the delete process truly modal: you should not be able to dismiss the 'delete' modal dialog. Apparently, properties exist to do this (http://stackoverflow.com/questions/9894339/disallow-twitter-bootstrap-modal-window-from-closing) 2. Create a custom message for deleted object urls, as we do for deleted build artifacts
Forgot to mention: we also need to remove / disable the "Cancel" link in the modal dialog once you click "Delete".
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fbf7e14894f08a803cc3096da6b0143faaa3d43e