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
OCIS returns incorrect status code for some requests in ocs api-v2.
How to reproduce:
A. In Ocis
Get information about a non-existing user as:
curl -s -k -u admin:admin -X GET https://localhost:9200/ocs/v2.php/cloud/users/New-User-not | xmllint --format -
<ocs>
<meta>
<status>error</status>
<statuscode>998</statuscode>
<message>The requested user could not be found</message>
</meta>
</ocs>
B. In OC10:
Get information of a non-existing user as:
curl -u admin:admin http://172.17.0.1/oc/ocs/v2.php/cloud/users/new-user-not | xmllint --format -
<ocs>
<meta>
<status>failure</status>
<statuscode>404</statuscode>
<message>The requested user could not be found</message>
</meta>
<data/>
</ocs>
The text was updated successfully, but these errors were encountered:
Description:
OCIS returns incorrect status code for some requests in ocs api-v2.
How to reproduce:
A. In Ocis
B. In OC10:
The text was updated successfully, but these errors were encountered: