wordpress-mobile / WordPress-iOS

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

Enabling WordPress.com login results in error message #23353

Open twstokes opened 1 month ago

twstokes commented 1 month ago

Expected behavior

No error message is shown.

Actual behavior

The following error message is shown, but the setting appears to still work.

Steps to reproduce the behavior

Note: There may be simpler steps to reproduce, but this is what I did while running tests for the unsupported block editor.

  1. Create a new self-hosted site (I used JN) that's not connected to Jetpack and add it to the app.
  2. Using the web, create a block post with a table (which is unsupported at this time in the mobile editor).
  3. Edit the post using the app to see the "Unsupported Block Editor".
  4. Save the post and exit the editor.
  5. Using the web, connect the site to Jetpack.
  6. In the app, refresh the list of sites and ensure that the site from step 1 is selected.
  7. Edit the post and try to edit the table via the Unsupported Block Editor.
  8. You should be prompted that you need to enable WordPress.com login.
  9. In the Setting screen (from the prompt) toggle on "Allow WordPress.com login".
  10. Observe the error message.
Tested on iPhone 12, iOS 17.4.1, Jetpack iOS / WordPress iOS 25.1
dangermattic commented 1 month ago

Thanks for reporting! 👍

twstokes commented 1 month ago

Just a thought worth testing: This may be due to an edge case where the app's internal state is transitioning from a self-hosted XML-RPC connection to a Jetpack / Dotcom one.