-
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
OCS error response code for Update/Delete shares have changed #3998
Comments
IMO, the new changes look OK. |
hm, no, it seems we broke something:
so the |
since this is resharing related, maybe @kobergj already has a hunch |
@butonic I can explain the first error code change. The I don't understand the |
@kobergj Yeah, the error message for DELETE is |
The error messages look related to the request so I thought that was a correct response, my bad!. |
@saw-jan Thanks! We found the issue and are working on a fix currently 👍 |
Describe the bug
The error ocs codes for update and delete shares have changed from
998
to996
and from400
to996
respectively. These changes have caused the test's failure (#3996)The change seems to appear from commit 09b89f7
But the new changes look GOOD. So, I think the tests should be refactored to the new changes.Steps to reproduce
admin
, share afolder
withuser1
with permissions31
user1
, share afolder
withuser2
with permissions31
user2
, share afolder
withuser3
with permissions17
user1
, try toupdate
/delete
the last share (step 3)Expected behavior (Previously)
Try to edit share
have
998
ocs error response codeTry to delete share
have
400
ocs error response codeActual behavior
Try to edit share
The ocs error response code is
996
Try to delete share
The ocs error response code is
996
The text was updated successfully, but these errors were encountered: