Project

General

Profile

Actions

Bug #6749

closed

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

Added by Brett Smith almost 9 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
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 runtimeClosed07/23/2015Actions
Actions #1

Updated by Brett Smith almost 9 years ago

  • Description updated (diff)
Actions #2

Updated by Brett Smith almost 9 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.

Actions

Also available in: Atom PDF