Skip to content

Conversation

@icewind1991
Copy link
Member

Signed-off-by: Robin Appelman [email protected]

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Dec 2, 2020
@icewind1991 icewind1991 added this to the Nextcloud 21 milestone Dec 2, 2020
@icewind1991
Copy link
Member Author

/backport to stable20

@icewind1991
Copy link
Member Author

/backport to stable19

@MorrisJobke
Copy link
Member

@icewind1991 Any more info on how to test this?

@MorrisJobke
Copy link
Member

And what it fixes.

@faily-bot
Copy link

faily-bot bot commented Dec 2, 2020

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 49: failure

mariadb10.1-php7.3

Show full log
There was 1 error:

1) Test\Files\ObjectStore\ObjectStoreStorageTest::testCopyOverwrite with data set #4 ('/source.txt', '/tärgét.txt')
copy(/tmp/oc_tmp_QUPeoP-folder/urn:oid:1229): failed to open stream: No such file or directory

/drone/src/lib/private/Files/Storage/Local.php:351
/drone/src/lib/private/Files/ObjectStore/StorageObjectStore.php:98
/drone/src/lib/private/Files/ObjectStore/ObjectStoreStorage.php:579
/drone/src/lib/private/Files/ObjectStore/ObjectStoreStorage.php:560
/drone/src/lib/private/Files/ObjectStore/ObjectStoreStorage.php:542
/drone/src/tests/lib/Files/Storage/Storage.php:259

--

There were 2 warnings:

1) Test\Files\ViewTest::testRenameFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

2) Test\Files\ViewTest::testCopyFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

@icewind1991
Copy link
Member Author

I ran into this with permissions_overwrite which uses the mountid to identity external storage and register storage wrappers for specific external storages, this didn't work for user configured storages since they didn't have the mount id set (i have also worked around the issue for now in the app).

In general this is an issue for any code that tries to map mountpoints/storages to an external storage configuration

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants