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

Aperta
#186 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
kotlin

Direzione di ricerca

Inizia riproducendo l'invio offline con i campi vuoti nelle schermate Register e Sign in, quindi segui la relativa validazione e gestione della connettività. Il lavoro è completato quando entrambe le schermate mostrano lo stesso comportamento per questo scenario e la validazione pertinente è coperta o verificata dai test esistenti dell'app, se disponibili.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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

Lingua principale
Kotlin
Stelle
38
Fork
61
Merge medio
7g 8h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openedx/openedx-app-android

Tutte le issue di openedx/openedx-app-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.