-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
apps/files_sharing/api/v1/remote_shares/{id} returns empty content for not accepted shares #34636
Comments
possible related to #34566 |
GitMate.io thinks the contributor most likely able to help you is @phil-davis. Possibly related issues are #34626 (accesing /ocs/v1.php/apps/files_sharing/api/v1/shares with invalid credentials gives an empty reply), #18530 (apps/files_sharing/api/externalShares 404 (Not Found)), #15508 (Empty content notice does not show for shared links), #4435 (Accept incoming shares), and #31423 ([Stable10] api test api sharing v1). |
@individual-it can you glue all these tests into some api acceptance tests? THX |
@DeepDiver1975 just doing it, trying to fill the gaps in #34566 (comment) |
log output
|
with PHP 5.6 and stable10 that issue results in a |
still reproducible:
we shouldn't try to read FileInfo for pending shares. |
Steps to reproduce
curl -u admin:admin http://localhost/owncloud-core/ocs/v1.php/apps/files_sharing/api/v1/remote_shares/pending
curl -u admin:admin http://localhost/owncloud-core/ocs/v1.php/apps/files_sharing/api/v1/remote_shares/22 -v
Expected behaviour
Error saying that the share is not accepted
OR
information of the share shown
Actual behaviour
HTTP code 200 but empty content
Server configuration
Operating system:
Ubuntu 18.04
Web server:
Apache2
Database:
SQLite
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
11.0.0
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
The text was updated successfully, but these errors were encountered: