Closed george08 closed 8 years ago
Something to do with ES/
http://gfs-oxford-explorer.herokuapp.com/things/mnh-entomology::ENT.LEPI3038-5
Elasticsearch::Transport::Transport::Errors::NotFound in ThingsController#show [404] {"_index":"dev","_type":"record","_id":"mnh-entomology::ENT","found":false}
Extracted source (around line #46): 44 45 46 47 48 49
def self.find(id) thing = ES_CLIENT.get index: 'dev', type: 'record', id: id self.new(thing['_source']) end
Rails.root: /Users/glo/Github/oxford-explorer
Application Trace | Framework Trace | Full Trace app/models/thing.rb:46:in find' app/controllers/things_controller.rb:4:inshow' Request
find' app/controllers/things_controller.rb:4:in
Parameters:
{"id"=>"mnh-entomology::ENT", "format"=>"LEPI3038-5"} Toggle session dump Toggle env dump Response
Headers:
None
This is, I think, a Rails issue - the id of the thing has a "." in it, and Rails has decided that there's a file extension.
Think I can fix this - gimme a tic.
Think this is now fixed.
Something to do with ES/
http://gfs-oxford-explorer.herokuapp.com/things/mnh-entomology::ENT.LEPI3038-5
Elasticsearch::Transport::Transport::Errors::NotFound in ThingsController#show [404] {"_index":"dev","_type":"record","_id":"mnh-entomology::ENT","found":false}
Extracted source (around line #46): 44 45 46 47 48 49
def self.find(id) thing = ES_CLIENT.get index: 'dev', type: 'record', id: id self.new(thing['_source']) end
Rails.root: /Users/glo/Github/oxford-explorer
Application Trace | Framework Trace | Full Trace app/models/thing.rb:46:in
find' app/controllers/things_controller.rb:4:in
show' RequestParameters:
{"id"=>"mnh-entomology::ENT", "format"=>"LEPI3038-5"} Toggle session dump Toggle env dump Response
Headers:
None