sengi
sengi copied to clipboard
"Record not found" when editing a status
Often when I try to edit a newly created status, it won't let me edit the status but instead show the error "record not found" – although editing the status on the web page of the Mastodon instance works perfectly.
Is it systematic or just time to time? If not systematic, do you see a reproducible pattern (time between creation and edition, etc)?
It's really hard to pinpoint. Right now it works again on every account therefore I cannot really investigate further. It might be connected to some specific condition of the server.
Ok, I might have found the problem:
It seems to happen when I try to edit a post by the selected account but press edit in a column that belongs to another account.
To reproduce:
- Use Sengi with at least two accounts (A and B) on two different server and have both their "Home" timelines shown next to each other
- Let these accounts follow each other
- Post a toot from account A and wait until it pops up in the "Home" timeline of account B
- With account A still selected, try to edit the toot by clicking "More" and "Edit" in the "Home" timeline of account B
Expected behavior: The edit field pops up, lets you edit the toot, and changes account A's toot after pressing "EDIT!". Actual behavior: The edit field pops up, lets you edit the toot, but displays "Record not found" after pressing "EDIT!" instead of changing account A's toot (presumably trying to find the toot under account B)
EDIT: It can also be tested with direct messages in case you don't want to spam your timeline ;) EDIT2: The accounts are on two different servers, so the "Record not found" message makes actually sense if it comes from the other server.