-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
As a follow up to #8940 after following the testing steps below, if I go into the editor and Discard Local Changes from the ... menu option, the post is successfully reverted to the published post but the Local changes status is not removed and the Discard Local Changes option is still enabled. Both issues are probably due to the post still being marked as isLocallyChanged in DB. I assume this issue will be resolved with #5984 but I wanted to note this just in case.
1. Create a draft while I am online in the app. That'll create the draft in remote.
2. Go offline
3. Make changes to the post and go back. This will save the changes as local draft
4. Go to web or any other client and make changes to the post.
5. Publish the post.
5. now turn airplane mode off on the device and pull to refresh on the Posts list.
6. Observe the post, that was marked with "local changes" doesn't get updated and is still accessible.
Testing steps are pulled from #8940