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
Edit "tests/enable_all.php" and add the "files_external" app
Run ./autotest.sh sqlite apps/files_external/tests/mountconfig.php
Expected result
Config tests pass
Actual result
Even though only the constructor of the \OC\Files\SMB class is called, it still tries to make a connection:
.FF..Can't contact server smbhost. Error NT_STATUS_UNSUCCESSFUL
FCan't contact server smbhost. Error NT_STATUS_UNSUCCESSFUL
(...snip...)
FCan't contact server somehost. Error NT_STATUS_UNSUCCESSFUL
FF
Versions
ownCloud 8.1 git master
After debugging I found that the SMB library from @icewind1991 tries to load the timezone from the server.
@icewind1991 can you fix it to do this lazily ?
External storage classes must not attempt any connection from the constructor, because it will cause other (future) problems like when deleting storages, see #11694
The text was updated successfully, but these errors were encountered:
Steps
./autotest.sh sqlite apps/files_external/tests/mountconfig.php
Expected result
Config tests pass
Actual result
Even though only the constructor of the
\OC\Files\SMB
class is called, it still tries to make a connection:Versions
ownCloud 8.1 git master
After debugging I found that the SMB library from @icewind1991 tries to load the timezone from the server.
@icewind1991 can you fix it to do this lazily ?
External storage classes must not attempt any connection from the constructor, because it will cause other (future) problems like when deleting storages, see #11694
The text was updated successfully, but these errors were encountered: