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

[Share api] Error message is shown when setting a password #18713

Closed
purigarcia opened this issue Aug 31, 2015 · 6 comments
Closed

[Share api] Error message is shown when setting a password #18713

purigarcia opened this issue Aug 31, 2015 · 6 comments

Comments

@purigarcia
Copy link

Steps to reproduce

  1. in the web, select to share a file
  2. Using poster or curl, obtain the share id
    3.Using curl, set a password
    curl -X PUT -u admin server/ocs/v1.php/apps/files_sharing/api/v1/shares/2 -d password=aaaa

Expected behaviour

Password is set

Actual behaviour

Error is shown
<?xml version="1.0"?> <ocs> <meta> <status>failure</status> <statuscode>400</statuscode> <message>Wrong or no update parameter given</message> </meta> <data/> </ocs>

Server configuration

Operating system: Ubuntu 14.0.4
Database: MySQL
ownCloud version: {"installed":true,"maintenance":false,"version":"8.2.0.4","versionstring":"8.2 pre alpha","edition":""}

@karlitschek
Copy link
Contributor

@schiesbn can you have a look?

@purigarcia
Copy link
Author

it does not happen in {"installed":true,"maintenance":false,"version":"8.1.2.0","versionstring":"8.1.2RC1","edition":"Enterprise"}

@SergioBertolinSG
Copy link
Contributor

I've tried this with master version 8.2 alpha (2015-09-01), it returned 100, no problems with the request.

But, there is a problem with the public share, when you open it you have to be logged in to see it, and you shouldn't need to be. #18731

@rullzer
Copy link
Contributor

rullzer commented Nov 15, 2015

I can't reproduce this, not on master and not on 8.2.0

@purigarcia I assume you shared by link?

@rullzer
Copy link
Contributor

rullzer commented Feb 2, 2016

Still can't reproduce this. And we have intergration test to cover this. And it all works. So closing this.

@purigarcia please reopen if this still happens.

@rullzer rullzer closed this as completed Feb 2, 2016
@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants