Project

General

Profile

Actions

Bug #3027

closed

[Workbench] job->log tab appears to be loading forever if Log collection is not found

Added by Tom Clegg almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
0.5

Description

Todo:
  1. Turn off loading spinner and display error message when "load tab" ajax request fails
  2. Improve error message ("log not available"?)
  3. Do not even offer a Log tab if log collection lookup fails
  4. Test cases for "collection.find fails" and "collection.find succeeds but arv-get fails"
#<RuntimeError: Path not found [API: 404]>
/home/tomclegg/arvados/apps/workbench/app/models/arvados_api_client.rb:107:in `api'
...
/home/tomclegg/arvados/apps/workbench/app/models/arvados_base.rb:108:in `find' 
/home/tomclegg/arvados/apps/workbench/app/views/jobs/_show_log.html.erb:24:in `_app_views_jobs__show_log_html_erb___2688258275434600425_57780620'

Related issues

Related to Arvados - Bug #3200: [Workbench] Improve AJAX error reportingResolvedBrett Smith07/23/2014Actions
Actions #1

Updated by Tom Clegg almost 10 years ago

  • Description updated (diff)
  • Story points changed from 0.5 to 1.0
Actions #2

Updated by Tom Clegg almost 10 years ago

  • Target version changed from 2014-06-17 Curating and Crunch to 2014-07-16 Sprint
Actions #3

Updated by Peter Amstutz almost 10 years ago

  • Status changed from New to In Progress
  • Assigned To set to Peter Amstutz
Actions #4

Updated by Tom Clegg almost 10 years ago

  • Story points changed from 1.0 to 0.5
Actions #5

Updated by Peter Amstutz almost 10 years ago

  1. Fixed
  2. Fixed
  3. "Reasonable people can disagree" it makes more sense to me to keep the log tab and have it tell the user something is wrong, instead of hiding it entirely and the user not knowing why.
  4. I'd like to punt selenium test writing to story #3022
Actions #6

Updated by Ward Vandewege almost 10 years ago

  • Target version changed from 2014-07-16 Sprint to 2014-08-06 Sprint
Actions #7

Updated by Ward Vandewege almost 10 years ago

  • Subject changed from job->log tab appears to be loading forever if Log collection is not found to [Workbench] job->log tab appears to be loading forever if Log collection is not found
Actions #8

Updated by Tom Clegg almost 10 years ago

  • Target version changed from 2014-08-06 Sprint to Arvados Future Sprints
Actions #9

Updated by Tom Clegg over 9 years ago

  • Status changed from In Progress to Resolved
  • Assigned To deleted (Peter Amstutz)
  • Target version deleted (Arvados Future Sprints)

Closing as duplicate of #3200.

Actions

Also available in: Atom PDF