Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 4.1.0 (Quiet Quay)
Description
Registry 4.1.0-RC1 returns 500 when attempting to view all CO people.
Example request which returns 500 :
curl -X GET --header "Content-Type:application/json" -u co_1.api-user:password 'https://comanage-registry:443/registry/co_people.json'
|
Example request which works :
curl -X GET --header "Content-Type:application/json" -u co_1.api-user:password 'https://comanage-registry:443/registry/co_people.json?coid=1'
|
Error log :
Warning: Undefined variable $requestKeys in [/srv/comanage-registry/app/Controller/CoPeopleController.php, line 768]
|
|
Error: [TypeError] in_array(): Argument #2 ($haystack) must be of type array, null given
|
Request URL: /registry/co_people.json
|
Stack Trace:
|
#0 /srv/comanage-registry/app/Controller/CoPeopleController.php(768): in_array('search_identifi...', NULL)
|
#1 [internal function]: CoPeopleController->index()
|