Clean up error handling
[?]
Oct 3, 2013, 12:45 PM
AGQ2MGFEJPFHSV2HPEQLRSTGHIQBMSHS5YWBPQ5PBPGHJ2VRQ5JQCDependencies
- [2]
KYSBJAYNAllow dashes in jobset input names - [3]
SMM4HQTP* Put actions related to builds under /build (e.g. /log/<buildid> - [4]
2JQ7WEFM - [5]
LZVO64YGMerge in the first bits of the API work - [6]
NYC3LZKH* Generate NAR archives on the fly. Necessary for producing channels - [7]
LSZLZHJYAllow users to edit their own settings - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 226
if (scalar @{$c->error}) {$c->stash->{resource} = { errors => $c->error };elsif (scalar @{$c->error}) {$c->stash->{resource} = { error => join "\n", @{$c->error} }; - edit in src/lib/Hydra/Controller/Root.pm at line 236
} elsif (defined $c->stash->{resource} and(ref $c->stash->{resource} eq ref {}) anddefined $c->stash->{resource}->{error}) {$c->stash->{template} = 'error.tt';$c->stash->{httpStatus} =$c->response->status . " " . HTTP::Status::status_message($c->response->status); - edit in src/lib/Hydra/Controller/Root.pm at line 241