adamengst
(Adam C. Engst)
18.Август.2020 17:06:58
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 лайка
osioke
(Osioke Itseuwa)
18.Август.2020 17:50:09
3
Thank you for the report @adamengst , we’ll get this sorted soon.
3 лайка
martin
(Martin Brennan)
21.Август.2020 01:01:30
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 лайка