Actions
Bug #4388
closed[SDKs] Manifest#each_line should not crash when encountering a blank line in a manifest.
Story points:
0.5
Description
While displaying the collections tab on "show Home project":
Started GET "/projects/qr1hi-tpzed-tpj2ff66551eyym?partial=contents_rows&filters=%5B%5B%22uuid%22%2C%22is_a%22%2C%22arvados%23collec tion%22%5D%5D" for 192.168.200.73 at 2014-11-01 14:29:42 -0400 Processing by ProjectsController#show as JSON Parameters: {"partial"=>"contents_rows", "filters"=>"[[\"uuid\",\"is_a\",\"arvados#collection\"]]", "id"=>"qr1hi-tpzed-tpj2ff66551 eyym"} ... #<NoMethodError: undefined method `gsub' for nil:NilClass> /usr/local/lib/ruby/gems/2.1.0/gems/arvados-0.1.20140917180103/lib/arvados/keep.rb:116:in `unescape' /usr/local/lib/ruby/gems/2.1.0/gems/arvados-0.1.20140917180103/lib/arvados/keep.rb:104:in `block in each_line' /usr/local/lib/ruby/gems/2.1.0/gems/arvados-0.1.20140917180103/lib/arvados/keep.rb:102:in `each_line' /usr/local/lib/ruby/gems/2.1.0/gems/arvados-0.1.20140917180103/lib/arvados/keep.rb:102:in `each_line' /usr/local/lib/ruby/gems/2.1.0/gems/arvados-0.1.20140917180103/lib/arvados/keep.rb:137:in `files' /home/tom/src/arvados/apps/workbench/app/models/collection.rb:42:in `total_bytes' /home/tom/src/arvados/apps/workbench/app/models/collection.rb:38:in `content_summary' /home/tom/src/arvados/apps/workbench/app/views/application/_show_object_description_cell.html.erb:1:in `_app_views_application__show_object_description_cell_html_erb___1631925922960951774_69892807124400'
Updated by Tom Clegg about 10 years ago
- Description updated (diff)
- Category set to SDKs
Updated by Brett Smith about 10 years ago
- Status changed from New to In Progress
- Assigned To set to Brett Smith
- Target version changed from Bug Triage to 2014-11-19 sprint
Updated by Brett Smith about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:ae96829cc088d18c7aaf438eacb75830c7a40662.
Updated by Tom Clegg about 10 years ago
- Status changed from Resolved to In Progress
Updated by Brett Smith about 10 years ago
4c110b5f looks great. Thank you for following through on that; sorry for my oversight.
Updated by Anonymous about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:d9f45bd01d2f5691a9aaca4f1fc00465497ef00c.
Actions