Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail gracefully when file is not found for a document #359

Closed
burisu opened this issue Mar 12, 2015 · 0 comments
Closed

Fail gracefully when file is not found for a document #359

burisu opened this issue Mar 12, 2015 · 0 comments
Milestone

Comments

@burisu
Copy link
Collaborator

burisu commented Mar 12, 2015

A TypeError occurred in documents#show:

no implicit conversion of nil into String
app/controllers/backend/documents_controller.rb:51:in `block (2 levels) in show'


Request:

  • URL : http://demo.ekylibre.farm/backend/documents/7.jpg
  • HTTP Method: GET
  • Parameters : {"controller"=>"backend/documents", "action"=>"show", "id"=>"7", "format"=>"jpg"}
  • Timestamp : 2015-03-11 16:57:16 +0000
  • Server : ma001
  • Rails root : /var/www/sheep-demo/releases/20150311023911-ekylibre-1.1.0.rc2
  • Process: 5542

Backtrace:

app/controllers/backend/documents_controller.rb:51:in block (2 levels) in show' app/controllers/backend/documents_controller.rb:46:inshow'

@burisu burisu added this to the 1.1.0 milestone Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant