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

fix: return 404 code if file isn't found on CheckFileInfo request #10112

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

jvillafanez
Copy link
Member

Description

The CheckFileInfo request will now return a 404 error code if the target file isn't found

Related Issue

#10097

Motivation and Context

Server should return a proper error code instead of a generic 500

How Has This Been Tested?

Manually tested following steps in #10097 , and unit tests added for this specific case

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@jvillafanez jvillafanez self-assigned this Sep 19, 2024
Copy link

update-docs bot commented Sep 19, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link

sonarcloud bot commented Sep 19, 2024

@jvillafanez jvillafanez merged commit 4ef8217 into master Sep 20, 2024
4 checks passed
@jvillafanez jvillafanez deleted the collaboration_info_notfound_error_code branch September 20, 2024 09:10
ownclouders pushed a commit that referenced this pull request Sep 20, 2024
…rror_code

fix: return 404 code if file isn't found on CheckFileInfo request
@micbar micbar mentioned this pull request Oct 1, 2024
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants