You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be an issue specific to the Chrome browser, but I wanted to document it here to see if anyone else has experienced it.
In Chrome, when I click the "Upload Results" button and select a QRDA Cat I zip file or Cat III XML file, Cypress will intermittently respond with this error:
Started POST "/test_executions" for 127.0.0.1 at 2013-07-22 11:33:10 -0400
Processing by TestExecutionsController#create as HTML
WARNING: Can't verify CSRF token authenticity
MOPED: 127.0.0.1:27017 QUERY database=cypress_development collection=users selector={"$query"=>{"_id"=>"51b9d1176fb30d0285000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4799ms)
MOPED: 127.0.0.1:27017 INSERT database=cypress_development collection=logs documents=[{"_id"=>"51ed50b66fb30d6647000002", "username"=>"matt@matthewbass.com", "event"=>"logout", "updated_at"=>2013-07-22 15:33:10 UTC, "created_at"=>2013-07-22 15:33:10 UTC}] flags=[] (0.1509ms)
Completed 500 Internal Server Error in 91ms
Mongoid::Errors::InvalidFind (
Problem:
Calling Document.find with nil is invalid.
Summary:
Document.find expects the parameters to be 1 or more ids, and will return a single document if 1 id is provided, otherwise an array of documents if multiple ids are provided.
Resolution:
Most likely this is caused by passing parameters directly through to the find, and the parameter either is not present or the key from which it is accessed is incorrect.):
app/controllers/test_executions_controller.rb:15:in `create'
Rendered /Users/pelargir/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
Rendered /Users/pelargir/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /Users/pelargir/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.8ms)
Apparently, the form attributes aren't getting sent in the POST to /test_executions (which is why the CSRF warning also gets displayed). This happens roughly 75% of the time. The remaining 25% of the time, the form attributes are sent with the POST and the upload completes successfully.
This doesn't happen in Safari or Firefox. In these browsers, the form attributes are sent 100% of the time.
There is a known bug in Chrome where form attributes aren't sent, but I'll have to do some additional research before recommending a possible workaround.
The text was updated successfully, but these errors were encountered:
This appears to be an issue specific to the Chrome browser, but I wanted to document it here to see if anyone else has experienced it.
In Chrome, when I click the "Upload Results" button and select a QRDA Cat I zip file or Cat III XML file, Cypress will intermittently respond with this error:
Apparently, the form attributes aren't getting sent in the POST to /test_executions (which is why the CSRF warning also gets displayed). This happens roughly 75% of the time. The remaining 25% of the time, the form attributes are sent with the POST and the upload completes successfully.
This doesn't happen in Safari or Firefox. In these browsers, the form attributes are sent 100% of the time.
There is a known bug in Chrome where form attributes aren't sent, but I'll have to do some additional research before recommending a possible workaround.
The text was updated successfully, but these errors were encountered: