-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
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
update reva & add share prefix to ocs shared with me paths #994
Conversation
Ok the tests fail because the |
b081dbb
to
30500cf
Compare
4f14b37
to
a038569
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was expecting to find that the related core API test scenario started to pass. But https://drone.owncloud.com/owncloud/ocis/1962/21/6 and https://drone.owncloud.com/owncloud/ocis/1962/22/6
Scenario: send PROPFIND requests to another user's webDav endpoints as normal user # /srv/app/testrunner/tests/acceptance/features/apiAuthWebDav/webDavPROPFINDAuth.feature:37
When user "Brian" requests these endpoints with "PROPFIND" to get property "d:getetag" about user "Alice" # OCSContext::userSendsRequestToTheseEndpointsWithProperty()
| endpoint |
| /remote.php/dav/files/%username%/textfile0.txt |
| /remote.php/dav/files/%username%/PARENT |
| /remote.php/dav/files/%username%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "404" # FeatureContext::theHTTPStatusCodeOfResponsesOnAllEndpointsShouldBe()
Responses did not return expected http status code
Failed asserting that 403 is identical to 404.
oC10 core responds with 404. But the OCIS code here is responding with 403 (the same issue on both storages)
What to do?
@@ -0,0 +1,6 @@ | |||
Bugfix: Fix path of files shared with me in ocs api | |||
|
|||
The path of files shared with me using the ocs api we pointing to an incorrect location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path of files shared with me using the ocs api we pointing to an incorrect location. | |
The path of files shared with me using the ocs api was pointing to an incorrect location. |
c5e4377
to
32a2f63
Compare
I recommend doing |
I feel like we "fixed" that exact things multiple times and it changed everytime.... |
@C0rby @butonic merged a PR on reva: cs3org/reva#1354 is all I'm aware of. I've been in my own auth bubble |
Ok now I got it... |
Ok, @refs and I decided to delete the test and leave the response code as it is for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we got ourselves in a catch 22 with that phoenix PR
cc77858
to
96e75ce
Compare
Kudos, SonarCloud Quality Gate passed! |
There is some work happening to have an expected-failures file for the phoenix UI tests. I will chase that up tomorrow. That would have let us add some expected-failures with comments about what was going on, then remove them in a later PR, and always have CI showing green. |
Fixes: owncloud/product#204