-
Notifications
You must be signed in to change notification settings - Fork 685
Problem sharing a Shared Folder #704
Comments
Hi @daorte, thanks for your feedback!! |
cc @rullzer the share api in user2 it is return:
neither of them exists in user1, so for user1 is shown as no shared related owncloud/core#25302 |
Also failing in Android. As user2, the call The same call with This is not what we would expect from the Share API documentation: From this I understand that the first call should return the share, that was created by user2. Is not user2 the owner of the share with user3, though it's resharing a file owned by user1? |
The web UI of 9.0.2 also uses the OCS Share API for sharing and it works there to reshare a received folder with link share. My steps:
This is the POST request as observed in the network console (copy as curl, stripped down a bit):
Then after refreshing the page, to display the status in the sidebar, it does this request: It returns:
Same result if I set "reshares=false". Not sure who that "user3" is @davivel ? Mind describing the use case / sharing situation you tested with more details ? (ideally with steps to reproduce). |
Something strange happened in my environment... after calling with I'll double check, sorry for the noise. |
@PVince81, just to clarify: instead of creating a link share in the step 7, I shared with user3; problem in mobile is the same no matter if the last share is public or private. |
Also another question is whether 8.2.6 behaves differently or this bug hasn't been discovered until now. |
After more (and better) testing, I'd say this is fixed with 9.0.3, here: owncloud/core#25067 @nasli, could you confirm for iOS? |
@PVince81 to notice the error you must share a folder inside another one: Tested over |
Ah, I see. |
Yes @PVince81, with this PR works! |
For Android nothing more is needed, but for the iOS app we need to revert a fix made to use file_target instead path in these cases for latest server version. @daorte, this will be fixed with the next release of iOS 3.5.0 that is expected in next weeks and also you need to update your server to 9.0.3.2 |
Tested with OwnCloud 9.1.0.15 and iOS Client 3.5.0 and it works now... Thanks |
Great! Thanks for your feedback! ;) |
Hi! i found an unexpected behavior trying to create a share link from a shared folder
Steps to reproduce
Expected behaviour
the iOS app should create the share link
Actual behaviour
the iOS app does nothing
Server configuration
Web server: Apache 2.4
Database: MySQL
PHP version: 7
Client: User-Agent: Mozilla/5.0 (iOS) ownCloud-iOS/3.4.9
OwnCloud: 9.0.2.2
Device model: iPhone 6 Plus iOS 9.3.2
Some help
the app is validating if the user is the owner of the file, in the share API response XML, this
<uid_file_owner>userOne</uid_file_owner>
and this<displayname_file_owner>userOne</displayname_file_owner>
tags refers to userOne. If i try to create a share in a NOT shared folder it works correctly
---edited by @nasli, added tasks:
TASKS
PR: #726 , owncloud/ios-library#134
The text was updated successfully, but these errors were encountered: