Task #3032

Bug #2891: Workbench error pages should be helpful

Error in rendering error.html

Added by Ward Vandewege over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Target version:
Start date:
06/17/2014
Due date:
% Done:

100%

Estimated time:

Description

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 over 5 years ago

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

Closes #3032, #3074. Refs #2891.

History

#1 Updated by Tom Clegg over 5 years ago

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

#2 Updated by Peter Amstutz over 5 years ago

  • Status changed from New to In Progress

#3 Updated by Peter Amstutz over 5 years ago

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

#4 Updated by Peter Amstutz over 5 years ago

  • Assigned To changed from Peter Amstutz to Brett Smith

#5 Updated by Brett Smith over 5 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