wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.66k stars 1.11k forks source link

The Page List does not automatically refresh when the editor closes #15535

Open antonis opened 3 years ago

antonis commented 3 years ago

Expected behavior

The Page List automatically refreshed when a page title is edited or a new page is created.

Actual behavior

The Page List does not automatically refresh when a page title is edited or a new page is created.

Steps to reproduce the behavior

New page

  1. From My Site press the Pages button or scroll down and select Site Pages from the list
  2. Create a new page
  3. Close the editor and save/publish the post
  4. Notice the the page list does not include the new post
  5. Manually refresh the list (pull) to see the new post

Edit page page

  1. From My Site press the Pages button or scroll down and select Site Pages from the list
  2. Open a page
  3. Change the title
  4. Close the editor and save the post
  5. Notice the the page list does not reflect the change in the title
  6. Manually refresh the list (pull) to see the update
Tested on iPhone SE 2020, iOS 14.2, WPiOS 16.4 or develop
stale[bot] commented 2 years ago

This issue has been marked as stale because:

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 during regularly scheduled triage sessions.

irfano commented 2 years ago

This is still valid.

https://user-images.githubusercontent.com/2471769/186753507-cd56e7de-a2f6-4ae4-884e-e31a6c07e5db.mp4

fluiddot commented 1 year ago

This issue is related to https://github.com/wordpress-mobile/WordPress-iOS/issues/20647. The fact that the Page list is not automatically refreshed leads to a crash when saving the page's content and opening the same page while is being uploaded.

A potential solution has been shared in https://github.com/wordpress-mobile/WordPress-iOS/issues/20647#issuecomment-1603357554.

NOTE: Fixing this issue would likely also solve https://github.com/wordpress-mobile/WordPress-iOS/issues/16370.