Bug #6749

[API] "undefined method `asset_path`" exception on login failure

Added by Brett Smith about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
07/23/2015
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

Visiting /static/login_failure on an API server currently returns a response like this:

{"errors":["#<NoMethodError: undefined method `asset_path' for #<#<Class:0x00000005d3bb98>:0x00000005440750>>"]}

Both views under app/views/static/ include a call to asset_path that apparently doesn't work in our API server Rails configuration.


Related issues

Related to Arvados - Bug #6753: [API] Asset pipeline does not work unless config/environments/production.rb is present at buildtime and runtimeNew07/23/2015

History

#1 Updated by Brett Smith about 4 years ago

  • Description updated (diff)

#2 Updated by Brett Smith about 4 years ago

  • Status changed from New to Rejected
  • Target version deleted (Arvados Future Sprints)

Already fixed in 9fbb2bbd4e2a0f1d15e1db3f3d606cdedae825a7. I was testing against a server that didn't have it deployed.

Also available in: Atom PDF