Bug #3489
closed
- Category set to Workbench
- Assigned To set to Tom Clegg
- Target version set to 2014-08-27 Sprint
- Status changed from New to In Progress
Reviewing b79c440
Group.find?(val).name
will crash if it fails to find something, since it ends up calling nil.name
. I think this should be Group.find(val).name rescue "Group Projects"
(or some other default).
- The comment with @filters.inspect is effectively a debug statement that should be removed. :)
- Can we write a test for this?
Brett Smith wrote:
Group.find?(val).name
will crash if it fails to find something, since it ends up calling nil.name
. I think this should be Group.find(val).name rescue "Group Projects"
(or some other default).
Used find(val).name rescue val
-- i.e., if the project became unfindable then you just see its UUID.
- The comment with @filters.inspect is effectively a debug statement that should be removed. :)
Indeed. Removed.
- Can we write a test for this?
Indeed. Added an assert_selector in the pipeline_instances megatest.
Now at aa923c9
I think aa923c9 is good to merge. Thanks.
- Status changed from In Progress to Resolved
Applied in changeset arvados|commit:a6010696b246cc43c721a35d56179c629d54e798.
Also available in: Atom
PDF