adamengst
(Adam C. Engst)
August 18, 2020, 5:06pm
1
I went into my bookmark list to see what was there, and decided to delete the two bookmarks I had created. That went fine, but after the second one was deleted, I got this error:
Seems like a weird error to get, given that there are no bookmarks anyway, if there were, they’d be mine, and I’m the admin of the site.
Cosmetic, I know… When I return to that page, I get the proper message:
3 Likes
osioke
(Osioke Itseuwa)
August 18, 2020, 5:50pm
3
Thank you for the report @adamengst , we’ll get this sorted soon.
3 Likes
martin
(Martin Brennan)
August 21, 2020, 1:01am
5
Thanks for the report! Merged a fix for this here:
master ← issue/fix-incorrect-bookmark-list-message
merged 01:01AM - 21 Aug 20 UTC
Meta report: https://meta.discourse.org/t/spurious-permissions-error-after-delet… ing-last-bookmark/161289
When deleting all bookmarks in their list, users were seeing an "access denied" message instead of the regular no content message. This is because when we were calling `loadMore` and no further results were returned, we were presuming the null response from the resolved promise meant that there was a permissions error. Fixed this and moved the message into a computed property to show the correct message.
3 Likes