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
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v3.0
Expected behaviour:
When you type in the 'Organisation' typeahead box on the 'Create Account' form it should search the local DB for results and call out to the ROR API
Actual behaviour:
It only checks the local DB
This appears to be related to the switch over to Strong Params during the Rails 5 upgrade. The incoming data in the POST come through as:
Processing by OrgsController#search as */*
Parameters: {"org"=>{"name"=>"National"}, "funder_only"=>"false", "type"=>"combined"}
But the controller is expecting the :funder_only and :type to be encapsulated in the Strong Params: {"org"=>{"name"=>"National","funder_only"=>"false","type"=>"combined"}
The text was updated successfully, but these errors were encountered:
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v3.0
Expected behaviour:
When you type in the 'Organisation' typeahead box on the 'Create Account' form it should search the local DB for results and call out to the ROR API
Actual behaviour:
It only checks the local DB
This appears to be related to the switch over to Strong Params during the Rails 5 upgrade. The incoming data in the POST come through as:
But the controller is expecting the :funder_only and :type to be encapsulated in the Strong Params:
{"org"=>{"name"=>"National","funder_only"=>"false","type"=>"combined"}
The text was updated successfully, but these errors were encountered: