You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system:
Ubuntu 18.04 Web server:
Apache 2 Database:
Sqlite PHP version:
7.2 ownCloud version: (see ownCloud admin page)
10.1.0.1 Updated from an older ownCloud or fresh install:
fresh Where did you install ownCloud from:
git
Are you using external storage, if yes which one: local/smb/sftp/...
no Are you using encryption: yes/no
no Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
FF 61 Operating system:
Ubuntu 18.04
The text was updated successfully, but these errors were encountered:
GitMate.io thinks possibly related issues are #2822 (By renaming a shared file is not shared any more), #4028 (Renaming not possible for directly shared files/folders), #8558 (Shared Files Renaming), #6197 (Rename after share doesn't rename the file in Shared dir), and #28218 (Renaming shared file issue ).
This sounds vaguely familiar. It is possible that the encryption code is doing some setupFS() stuff during that process which would pre-initialize the file_target while when there is no encryption, the setupFS() only happens later on access.
I seem to remember observing this in the past while writing encryption related tests.
Now thinking of it, in that PR the observation was based on test side effects where some files from another test were still here.
It is possible that we haven't had a test for a deliberate duplicate so far, and the inconsistency still exists.
In general I'm not sure if we can prevent the setupFS() from encryption. What we could do for consistency is also add a setupFS() related code paths for the non-encrypted code paths to make the behavior consistent.
Steps to reproduce
curl -u uu2:uu2 http://localhost/owncloud-core/ocs/v1.php/apps/files_sharing/api/v1/shares
Expected behaviour
<file_target>/welcome (2).txt</file_target>
Actual behaviour
<file_target>/welcome.txt</file_target>
I think the expectation in this acceptance tests is wrong:
https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiSharing/createShare.feature#L15
Server configuration
Operating system:
Ubuntu 18.04
Web server:
Apache 2
Database:
Sqlite
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
10.1.0.1
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
FF 61
Operating system:
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: