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
@cdamken Can you give any more information about this problem? What were you doing when this occurred? Did this happen once or every time you do the same thing?
I have observed this kind of exception traces when there's no logged in user while some Music app REST endpoint is called. In this case, null is passed to ApiController constructor instead of the user folder reference, and this triggers the TypeError.
In the reported case, the error has occurred while loading an album cover. A possible explanation could be that one browser tab was in the process of loading the albums view while the user logged off from another tab. If this has been the case, then there's probably nothing we could or should do within the Music app.
In case there is no logged in user, the ApiController constructor may
get called with $userFolder value null. This used to cause an
exception since the null didn't match the type hint "Folder".
The cloud core has a logic to redirect the user to the login page if
service requiring login is queried without a valid session. However,
this type mismatch exception apparently fired before that logic had a
chance to kick in.
This problem was probably also behind the report owncloud#682.
app
index
browser
Chrome 71.0.3578
browser.name
Chrome
level
error
logger
php
oc-loglevel
3
os.name
Windows 10
release
10.1.0.4
runtime
php 7.0.32
runtime.name
php
transaction
/apps/music/api/album/116082/cover
url
https://cloud.damken.com/index.php/apps/music/api/album/116082/cover
The text was updated successfully, but these errors were encountered: