wordpress-mobile / wordpress-mobile/WordPress-Android

Login : The site address' discovery error is not preserved on configuration change

Open
#10,361 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Status] Stale [Type] Bug Domains Login
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

When there's a configuration change such as a rotation, the site address error should be preserved so the user doesn't have to resubmit to see the error again.

Actual behavior

The error is displayed when the site address discovery failed. Once the screen is rotated the error disappears.
ezgif com-video-to-gif

Steps to reproduce the behavior
  1. Open the app and select the option to add a self-hosted site.
  2. Enter a WordPress site address that will be invalid so that an error is shown.
  3. Rotate the device to trigger a configuration change.
  4. Observe that the error state of the site address input has disappeared.
Tested on [device], Android [version], WPAndroid [version]

Nexus 6p, Android 8.0, WPAndroid 12.9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the self-hosted site address discovery error in the login flow, then rotate the device to trigger the configuration change. Trace how the error state is handled across that change; done means the error remains visible without requiring the site address to be resubmitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.