Bug 7995 - Incorrect redirects from project builds to all builds
Summary: Incorrect redirects from project builds to all builds
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.9 M3
Assignee: Belen Barros Pena
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-14 13:22 UTC by Michael Wood
Modified: 2015-09-03 07:10 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wood 2015-07-14 13:22:54 UTC
Toaster incorrectly redirects /project/x/builds/ to /builds/

I think this has something to do with an exception handled in the _template_render decorator.
Comment 1 Michael Wood 2015-07-17 15:34:51 UTC
We also don't get a proper response from this view after POSTing to it

libtoaster.startABuild expects

{ error : "ok" }

on success 

meaning that although the build is successfully triggered the client side things it's failed because "ok" isn't present.
Comment 2 Alexandru Damian 2015-07-24 17:01:23 UTC
Fixed posted for review on:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=adamian/bug_fixes
Comment 4 Mihail Stanciu 2015-09-03 07:10:26 UTC
Verified.