Skip to content

Pressing tick following country list loading failure causes an exception (no connection) #49

@tobias-g1

Description

@tobias-g1

Expected behaviour

When you click the tick to indicate your country selection and the country list has not loaded the tick should be disabled as no country has been selected, or the ticks should just do nothing.

Actual behavior

When the country list doesn't load because you haven't got an internet connection and you press the tick to indicate your country selection a crash occurs.

How to reproduce

  1. Download application from here
  2. Install
  3. Prior to launching click on your phone settings and disable data and wifi
  4. Launch the application
  5. You will be presented with a blank list where the application should show countries (this is because you have no data) and a tick which is used to indicate you're done when choosing a country when the country list appears.
  6. Although you cannot select a country, press the tick.
  7. The application will crash.

Environment

  • Application Version: 1.0.6
  • Operating system: Android 5.0.2
  • Device: Samsung Galaxy Alpha
  • Model Number: SM-G850

Recording Of The Bug

An image which shows the issue can be seen below:

(Please note within the image I also show the country list loading correctly at the start of the video, as I don't have a SIM in this device I didn't need to disable data although I have included this in my steps to reproduce).

ezgif-1-68947ebbba.gif



Posted on Utopian.io - Rewarding Open Source Contributors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions