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
[Fixes #11703] Documents can now be uploaded without specifying title via the REST API. #11872
base: master
Are you sure you want to change the base?
[Fixes #11703] Documents can now be uploaded without specifying title via the REST API. #11872
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #11872 +/- ##
=======================================
Coverage 63.49% 63.49%
=======================================
Files 866 866
Lines 52508 52520 +12
Branches 6599 6600 +1
=======================================
+ Hits 33339 33348 +9
- Misses 17653 17656 +3
Partials 1516 1516 |
@ahmdthr please take a look at the failing tests. |
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.
Apparently your test is failing
Sorry for the late response, but I was sick last week. I am going to fix the issues today. Thank you for waiting. |
Fixes#11703 Upload document via REST API v2 does not work
The document upload does not work without specifying the title. With this PR the document will be uploaded while setting the title as the name of the uploaded file.
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for contrib modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.