Hi team/community,
I can’t seem to get a resolution to the issues I’m experiencing regarding labels in the new Paperpile.
Actions preceding these errors involved creating new labels and clicking on various filter options.
Error
{“type”:“log”,“message”:“Console output”,“metadata”:{“severity”:“error”,“[0]”:“%c[webapp][tree panel]”,“[1]”:“color: #2F69A3”,“[2]”:“fetchSelectedCollections”,“[3]”:“Error: Unable to updatePubs before we have FilterMap”},“timestamp”:“2024-07-30T04:21:43.480Z”}
…
{“type”:“error”,“message”:“Error”,“metadata”:{“errorClass”:“Error”,“errorMessage”:“Unable to updatePubs before we have FilterMap”,“severity”:“warning”},“timestamp”:“2024-07-30T04:21:43.481Z”}
Thoughts
“[webapp][tree panel] fetchSelectedCollections”
Indicates the error originates from the “tree panel” component of the web application, specifically when it tries to fetch information about selected collections (like folders and labels).
“Error: Unable to updatePubs before we have FilterMap”
The root cause is a timing issue. Paperpile is trying to update the list of publications (“updatePubs”) in the currently viewed collection, but it depends on another piece of data, the “FilterMap”, which hasn’t been loaded yet. This “FilterMap” likely contains rules or settings that determine which publications should be displayed.
Any help from anyone experiencing these errors or the team with respect to fixing the errors would be sincerely appreciated.
Kind regards,
Andrew