Bug #4699

[Workbench] collections#index should not crash on (name.nil? and tags.any?)

Added by Tom Clegg almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
0.5

Description

#<NoMethodError: undefined method `+' for nil:NilClass>
/home/tom/src/arvados/apps/workbench/app/views/collections/_index_tbody.html.erb:7:in `block (2 levels) in _app_views_collections__index_tbody_html_erb__3375650105745126704_70242628560400'
/home/tom/src/arvados/apps/workbench/app/views/collections/_index_tbody.html.erb:6:in `each'
/home/tom/src/arvados/apps/workbench/app/views/collections/_index_tbody.html.erb:6:in `block in _app_views_collections__index_tbody_html_erb__3375650105745126704_70242628560400'
/home/tom/src/arvados/apps/workbench/app/models/arvados_resource_list.rb:111:in `each'
/home/tom/src/arvados/apps/workbench/app/models/arvados_resource_list.rb:111:in `each'
/home/tom/src/arvados/apps/workbench/app/views/collections/_index_tbody.html.erb:1:in `_app_views_collections__index_tbody_html_erb__3375650105745126704_70242628560400'

Associated revisions

Revision ce9f1191 (diff)
Added by Tom Clegg almost 6 years ago

4699: Fix crash when collection has tags but no name. closes #4699

History

#1 Updated by Tom Clegg almost 6 years ago

  • Description updated (diff)
  • Category set to Workbench

#2 Updated by Anonymous almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:ce9f11911e57b6d79e44f510d47703ca8a3fcd9c.

#3 Updated by Ward Vandewege almost 6 years ago

  • Target version changed from Arvados Future Sprints to 2014-12-10 sprint

Also available in: Atom PDF