Skip to content
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

async operation always returns HTTP code 202 #32598

Closed
individual-it opened this issue Sep 5, 2018 · 3 comments
Closed

async operation always returns HTTP code 202 #32598

individual-it opened this issue Sep 5, 2018 · 3 comments
Assignees
Labels
p3-medium Normal priority Type:Bug
Milestone

Comments

@individual-it
Copy link
Member

Steps to reproduce

  1. try to MOVE a file that does not exist using the async operation
  2. check the HTTP status code

Expected behaviour

4xx code should be returned see #32580 (comment)

Actual behaviour

202 is returned
There is a correct error code in OC-JobStatus-Location, but the request itself returns 202
same happens on other illegal operations, e.g. move without permission, rename to illegal names, etc.

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

Possibly related issues are #24509 (Async file operations), #235 (no http error code), #32594 ([WIP] [stable10] tests async operations), #2127 (WebDAV: MKCOL in non edit shared folder returns HTTP result code 201), and #11812 (Return generic HTTP errors from controllers).

@PVince81 PVince81 added this to the QA milestone Sep 5, 2018
@PVince81
Copy link
Contributor

PVince81 commented Sep 5, 2018

to be discussed with @DeepDiver1975

I think this is not critical

@patrickjahns patrickjahns modified the milestones: QA, development Sep 5, 2018
@DeepDiver1975
Copy link
Member

This has been discussed already - pre processing can be done on the initial request.
Needs to be added in a followup PR -> not critical

@PVince81 you can assign me to this for the next sprint

@lock lock bot locked as resolved and limited conversation to collaborators Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p3-medium Normal priority Type:Bug
Projects
None yet
Development

No branches or pull requests

5 participants