We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we get the sharees, the response in OC10 and OCIS is different.
Steps to reproduce the behavior:
Alice
Sharee1
shareeGroup
shareeGroup2
file
curl -X GET http://localhost:20080/ocs/v1.php/apps/files_sharing/api/v1/sharees\?search\=Sharee1\&itemType\=file -H OCS_APIREQUEST=true -u Alice:123456 | xmllint --format -
The response in OC10 is as follows:
curl -X GET http://172.17.0.1/oc/ocs/v1.php/apps/files_sharing/api/v1/sharees\?search\=Sharee1\&itemType\=file -H OCS_APIREQUEST=true -u Alice:123456 -v; < HTTP/1.1 200 OK <?xml version="1.0"?> <ocs> <meta> <status>ok</status> <statuscode>100</statuscode> <message>OK</message> <totalitems></totalitems> <itemsperpage></itemsperpage> </meta> <data> <exact> <users> <element> <label>Sharee One</label> <value> <shareType>0</shareType> <shareWith>sharee1</shareWith> <userType>0</userType> </value> </element> </users> <groups/> <remotes/> </exact> <users/> <groups/> <remotes/> </data> </ocs>
The response in OCIS is as follows:
curl -X GET http://localhost:20080/ocs/v1.php/apps/files_sharing/api/v1/sharees\?search\=Sharee1\&itemType\=file -H OCS_APIREQUEST=true -u Alice:123456 | xmllint --format - <?xml version="1.0" encoding="UTF-8"?> <ocs> <meta> <status>ok</status> <statuscode>100</statuscode> <message>OK</message> </meta> <data> <exact/> <users> <label>Sharee One</label> <value> <shareType>0</shareType> <shareWith>sharee1</shareWith> <shareWithAdditionalInfo>sharee1@example.org</shareWithAdditionalInfo> </value> </users> </data> </ocs>
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Summary: in oC10 the exact match of the user sharee1 comes inside the <exact> section. In oCIS it comes outside the <exact> section.
sharee1
<exact>
Sorry, something went wrong.
@jasson99 what happens if you search for sharee1 (lowercase of the user name)?
Maybe oC10 and oCIS behave the same for that search?
@jasson99 what happens if you search for sharee1 (lowercase of the user name)? Maybe oC10 and oCIS behave the same for that search?
Yes, the response is same with upper and lowercase search.
OCS is deprecated and won't fix
No branches or pull requests
Describe the bug
When we get the sharees, the response in OC10 and OCIS is different.
Steps to reproduce
Steps to reproduce the behavior:
Alice
andSharee1
shareeGroup
andshareeGroup2
shareeGroup2
Alice
get the sharees with search valueSharee1
and itemTypefile
as follows:Expected behavior
The response in OC10 is as follows:
Actual behavior
The response in OCIS is as follows:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: