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

[QA] Requesting shares with "shared_with_me=true" retrieves shares with incorrect path #570

Closed
jesmrec opened this issue Sep 15, 2020 · 4 comments
Labels
Category:Defect Existing functionality is not working as expected Type:Bug

Comments

@jesmrec
Copy link

jesmrec commented Sep 15, 2020

oCIS is saving shared content in the folder \Shares. Then, when requesting "shared with me" content:

ocs/v2.php/apps/files_sharing/api/v1/shares?state=all&shared_with_me=true

the response must include in the <path> and <file_target> the \Shares folder

F ex: in oC10's config.php, the following instruction is added to set the same behaviour as oCIS:

'share_folder' => '/Shares'

So, sending the request above, the response...

oC10:

<path>/Shares/Speech.ogg</path> ... <file_target>/Shares/Speech.ogg</file_target>

oCIS:

<path>/Speech.ogg</path> ... <file_target>/Speech.ogg</file_target>

this makes the mobile clients not to show that the item is shared by others in the actions card:

oC10 oCIS
Screenshot 2020-09-15 at 09 33 15 Screenshot 2020-09-15 at 09 33 26

Backend: EOS storage via via https://github.com/owncloud-docker/compose-playground/blob/master/examples/hetzner-deploy/make_ocis_eos_compose_test.sh
Version: v1.0.0-rc1
Client: iOS App v11.4 over iOS13

@jesmrec jesmrec added the bug label Sep 15, 2020
@phil-davis
Copy link
Contributor

Similar bug report here: owncloud/product#203

@jesmrec jesmrec added the qa label Sep 15, 2020
@settings settings bot removed the qa label Sep 23, 2020
@settings settings bot removed the bug label Jan 12, 2021
@refs refs added the Category:Defect Existing functionality is not working as expected label Jan 13, 2021
@settings settings bot removed the p3-medium label Apr 7, 2021
@michaelstingl
Copy link
Contributor

@jesmrec this still an issue?

@jesmrec
Copy link
Author

jesmrec commented Dec 7, 2022

Not reproducible anymore with ocis-2.0.0. Any way to check with EOS storage?

@fschade
Copy link
Contributor

fschade commented Jun 4, 2024

Please open again if the ticket is still relevant

@fschade fschade closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Defect Existing functionality is not working as expected Type:Bug
Projects
None yet
Development

No branches or pull requests

5 participants