openedx / openedx/openedx-app-android

Android - Different Internet connectivity errors for both Sign in & Register screens

Open
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
36
Forks
61
Avg merge
5d 6h
Merged PRs (30d)
2

Description

Description:
When the user tries to sign in without the internet (Empty Fields), an invalid email error occurs. In contrast, when the user tries to register without the internet (Empty Fields), an Internet connectivity error occurs.

Note: The logic behind this is that when there is no internet and we try to sign in with empty fields, the server first checks the validation of the fields and then the connection. According to this logic, the Sign-in behavior is correct

Steps to Reproduce:

  • Install the openedX app
  • Load the app
  • Go to the Register screen
  • Switch off the internet
  • Tap on the Create account button with empty fields
  • Notice the user gets an internet connectivity error

Expected Behavior:
The Behavior for both Register & Sign in should be the same
Screenshot_20240116-153154_OpenEdX
Screenshot_20240116-153202_OpenEdX

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 offline, empty-field submission on the Register and Sign in screens, then trace their validation and connectivity handling. Done means both screens show the same behavior for this scenario, with the relevant validation covered or verified by the existing app tests if available.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.