Task #3032

Bug #2891: Workbench error pages should be helpful

Error in rendering error.html

Added by Ward Vandewege almost 8 years ago. Updated almost 8 years ago.

Assigned To:
Brett Smith
Target version:
Start date:
Due date:
% Done:


Estimated time:


After the bug in issue #3031, workbench tries to run the error page, which blows up like this:

Rendered application/error.html.erb within layouts/application (1.2ms)
Completed 500 Internal Server Error in 664ms

ActionView::Template::Error (ArvadosApiClient::NotLoggedInException):
173: <% end >
174: My projects
175: </li>
176: <
my_project_tree.each do |pnode| >
177: <
next if pnode[:object].class != Group %>
178: <li style="padding-left: <%= pnode[:depth]-1 %>em">
179: <%= link_to(pnode[:object].name, project_path(pnode[:object].uuid), data: {object_uuid: pnode[:object].uuid, name: 'name'}) %>
app/models/arvados_api_client.rb:88:in `api'
app/models/arvados_resource_list.rb:69:in `where'
app/models/arvados_resource_list.rb:75:in `results'
app/models/arvados_resource_list.rb:88:in `each'
app/controllers/application_controller.rb:613:in `build_project_trees'
app/controllers/application_controller.rb:600:in `my_project_tree'
app/views/layouts/application.html.erb:176:in `_app_views_layouts_application_html_erb___4156834235341399204_21093860'
app/controllers/application_controller.rb:46:in `block (2 levels) in render_error'
app/controllers/application_controller.rb:40:in `render_error'
app/controllers/application_controller.rb:58:in `render_exception'

Associated revisions

Revision f2756832
Added by Brett Smith almost 8 years ago

Merge branch '2891-workbench-errors-retain-login'

Closes #3032, #3074. Refs #2891.


#1 Updated by Tom Clegg almost 8 years ago

  • Tracker changed from Bug to Task
  • Parent task set to #2891

#2 Updated by Peter Amstutz almost 8 years ago

  • Status changed from New to In Progress

#3 Updated by Peter Amstutz almost 8 years ago

  • Description updated (diff)
  • Assigned To set to Peter Amstutz

#4 Updated by Peter Amstutz almost 8 years ago

  • Assigned To changed from Peter Amstutz to Brett Smith

#5 Updated by Brett Smith almost 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Applied in changeset arvados|commit:f2756832f844d78d782ff35e46b650c5501b0c47.

Also available in: Atom PDF