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
{{ message }}
Repository navigation
Favorite handling fails for folders not in the filelist #19789
Open the sidebar via the share icon in the breadcrumb
Click on the favorite icon
Expected behaviour
Works ⭐
Actual behaviour
Works in the background, but the UI shows an error: Unable to change the favourite state of the file
The problem is OCA.Files.App.fileList.getModelForFile can not find the file and therefor continues with null, causing the following error in the console:
Unable to change favourite state TypeError: "fileInfoModel is null"
Activity
skjnldsv commentedon Mar 5, 2020
Stupid legacy code :p
nickvergessen commentedon Mar 5, 2020
It could also be fixed by reducing the scope of the catch to the actual axios execution
szaimen commentedon Jan 9, 2023
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you!
nickvergessen commentedon Jan 10, 2023
Also on master