Wordpress-android: Aztec: local changes detected after `undo`

Created on 10 Jul 2018  路  5Comments  路  Source: wordpress-mobile/WordPress-Android

Expected behavior

If content remains identical to what the Editor was fed with, it should not show the Local changes label when adding content then undoing.

Actual behavior

Opening an existing post, adding a character then tapping on undo still makes the app believe there were changes made to the content.

Steps to reproduce the behavior

  1. Open existing post (make sure it's not a post with local changes at this point)
  2. Type a character
  3. Press Undo
  4. Press back and observe "Local Changes" label on the post list
Tested on [Google Pixel], Android [8.1]
Aztec PostinEditing [Status] Duplicate [Type] Bug

All 5 comments

馃憢 @mzorz , I _think_ the expected behavior is for the case when the post doesn't have local changes _before_ entering the editor, right? If so, I can edit the description to include this condition.

That's correct @hypest, I just edited the "steps to reporduce" part tonclude this precondition

In my testing, the issue here is that the "undo" action wasn't saved.

When I follow those steps to reproduce the issue, and then open the post again, I can see the changes that I made to the post even though those changes were removed with the "undo" button previously. (This also happens if I type a character and backspace to remove it; the character I added is saved locally.)

This issue has been marked as stale because:

  • It has been inactive for the past year.
  • It isn't in a project or a milestone.
  • It hasn鈥檛 been labeled [Pri] Blocker, [Pri] High, or good first issue.

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).

Was this page helpful?
0 / 5 - 0 ratings