-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content loss after using the web to edit and publish a draft created with the app #10187
Comments
Labeling as high priority because of the potential for data loss. |
Thank you for the video! That was very helpful.
Following the steps on the video, I'm having trouble reproducing the content loss. I used WPAndroid 12.7.1 and latest As for the conflict resolution described in p4a5px-2pK-p2, that sounds like a bigger project that requires some upfront design and possibly API changes. I linked to it in #10008 (comment). |
Moving this back to Prioritized for now. |
Things I noticed in the video linked above that I found weird:
What I triedI tested alpha-177 and couldn't reproduce even by following the same actions as shown in the video (didn't test on Android 9 but a Pixel 2 with Android 8.1 though). Tried on a self-hosted site with a slightly earlier version of Gutenberg as well, and a wordpress.com site, and it always opens the mobile Gutenberg editor for me the second time (after converting the post to blocks on the web), with the updated content in it. Hypothesis followedCASE A CASE B Conclusion I'm reaching to so farThis only leads me to think it may have been a glitch in the API: the information we have on our side came across like that from the server in any case. To try to isolate it even more and make sure it was just a transitory problem, could you try again @designsimply and update here with your findings? As per your comment above it seemed it was consistently reproduceable so, we should still be able to find the same behavior with alpha-177 (you can download an approximate APK from 12.7 here or I can prepare an The broader problem of syncingAlso to add to this in any case, I agree with the mentions and discussions above that the most prominent problem here is in effect the lack of a unified / consistent resolution strategy to handle versioning conflict that parts from the API, as discussed in p4a5px-2pK-p2 and mentioned in #10187 (comment) I'm also leaned to think a proper project would need to be scoped in order to tackle the root cause properly. |
I re-tested with wpandroid-12.7-universal.apk from here and found that I couldn't reproduce the problem where only part of my post was saved but the potential content loss we are still concerned about (and that is likely happening for users based on user reports we've received) is when you re-open and publish a post using the app that was edited and published on the web without refreshing the post list in the app first then it's easy to overwrite a published post with a draft. Tested with WPAndroid 12.7 (apk from the GitHub releases section) on Pixel 3 Android 9. cc @shiki (and sorry for missing your ping before!) |
Thanks for testing again @designsimply ! I was re-reading the issue here to make sure to follow up on it correctly, here are my thoughts:
I think the way I understood this particular issue's description was the central part being this specifically:
I think, given the research done here and it wasn't reproduceable anymore is enough explanation (at least in regards to how WPAndroid works), we can close the issue. The other problem (as in, the "broader problem of syncing") I think is better described as you did here:
What do you think about closing this one and opening a new one for this only that represents the situation as per the title in p4a5px-2pK-p2 |
👍 New issue sounds great. Closing this and moving to #10292. |
Steps to reproduce:
Result: if a draft made with the app is edited and published on the web, the edits made using the web are not synced in the drafts post list and only the changes to the post title are synced after refreshing the published post list view and opening the post again. Changes made to the body of the post are lost. (3m40s)
Note: I tested with Aztec and the block editor and saw the same result for both.
Tested with WPAndroid alpha-177 (12.8 alpha) on Pixel 3 Android 9.
h/t @rachelmcr for the testing steps (internal reference: p4a5px-2pK-p2)
The text was updated successfully, but these errors were encountered: