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
The issue occurs intermittently in the Music application where it fails to load properly, resulting in a TypeError. The error message indicates that the application is attempting to read properties of an undefined object, specifically 'getIconUrl'. This issue disrupts the normal functioning of the application.
Error Log:
webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2 TypeError: Cannot read properties of undefined (reading 'getIconUrl')
at Object.<anonymous> (webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:303745)
at Object.invoke (webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:60133)
at webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:94084
at se (webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:85003)
at webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:78457
at se (webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:85649)
at webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:78457
at webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:77772
at webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:44174
at c.$eval (webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2:136349)
(anonymous) @ webpack.app.ed7a3d4fa79d10ae7b4c.js?v=acdb7557-14:2
Screenshot:
The text was updated successfully, but these errors were encountered:
I presume that, on your system, the global object OC.MimeType is not always initialized by the time we execute that line. This may depend on many factors, including at least the exact version of Nextcloud, the used browser, and random factors. I guess we need to add some logic there, checking the existence of OC.MimeType and scheduling a new check to happen later if the reference is not present yet.
It happens sometimes (but quite rarely at least on my tests) that all
the needed parts of the Nextcloud server core are not yet loaded at the
time when our controllers are being initialized. Previously such cases
caused the page loading to fail but now we are prepared: If the needed
parts of the core are not available immediately, then we postpone the
related initialization steps and retry after 500 ms. Attempts are
continued until when they succeed.
In the GitHub issue, the problem was reported to happen with the
reference OC.MimeType, but fixing this case reveled that there was a
similar case related to the HTML element #app-navigation-toggle.
refs #1137
Steps to reproduce
Versions:
Description:
The issue occurs intermittently in the Music application where it fails to load properly, resulting in a TypeError. The error message indicates that the application is attempting to read properties of an undefined object, specifically 'getIconUrl'. This issue disrupts the normal functioning of the application.
Error Log:
Screenshot:
The text was updated successfully, but these errors were encountered: