Server Version#: 1.41.4.9421
Player Version#: 4.145.0 (hosted)
When browsing trough the photo library with nested folders (ex. 3 levels). PlexWeb will randomly throw a JS error and show Something went wrong. Refreshing the page (F5) solves the problem and the photos are shown in the folder.
Looking at the browser devtools the following error(s) are shown in the console.
426-426-80524e501be6….145.0-fdef097.js:2
TypeError: Cannot read properties of undefined (reading 'getCollection')
at metadata/metadataList/deselectAllMetadataListItems (main-8792-a75bbc9114…fdef097.js:2:781819)
at e (main-8792-a75bbc9114…def097.js:2:3315960)
at n.<computed> [as dispatchDeselectAllMetadataListItems] (426-426-80524e501be6…def097.js:2:1964436)
at S.componentWillUnmount (main-8792-a75bbc9114…def097.js:2:2637581)
...
{
"type": "[object Error]",
"stack": "TypeError: Cannot read properties of undefined (reading 'getCollection')\n at metadata/metadataList/deselectAllMetadataListItems (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:781819)\n at e (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:3315960)\n at n.<computed> [as dispatchDeselectAllMetadataListItems] (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1964436)\n at S.componentWillUnmount (https://app.plex.tv/desktop/js/main-8792-a75bbc9114f1a47a3ba2-plex-4.145.0-fdef097.js:2:2637581)\n at hl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1024324)\n at pl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1023417)\n at hl (https://app.plex.tv/desktop/js/426-426-80524e501be692cdcc47-plex-4.145.0-fdef097.js:2:1024498)\n at pl (https://app.plex.tv/desktop/js/426-426-80524e50...",
"name": "TypeError",
"message": "Cannot read properties of undefined (reading 'getCollection')"
}
UPDATED:
Ex. the library is mapped to the following folder: X:\photos
X:\photos\*.jpg (contains photos and subfolders)
X:\photos\subfolder\*.jpg (contains photos and subfolders)
X:\photos\subfolder\subfolder (contains only subfolders)
X:\photos\subfolder\subfolder\box-01\*.jpg (contains only photos)
X:\photos\subfolder\subfolder\box-02\*.jpg (contains only photos)
The crash occurs when browsing X:\photos\subfolder\subfolder\box-XX. Third level subfolder with photos.
