MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android

Home Page:http://vespucci.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ElementHistoryDialog doesn't handle network issues

opk12 opened this issue · comments

Vespucci Version

19.2.1.0, 19.1.2.0, a couple versions before 19.1.2.0.

Download source

F-droid

Device (Manufacturer and Model)

Samsung Android 7.1

Android Version

Samsung Android 7.1

Behaviour/Symptoms

I had a weak network connection. I tapped for the history of an object and was told the element was deleted. I could not believe it and tried again, and really it was a network connection failure.

Expected Behaviour

The error message should say there is a network connection failure.

How to recreate

  • Be online.
  • Select a node.
  • Press the Hamburger menu at the bottom right.
  • Have an unreliable network connection, or disconnect the network.
  • Press History.
  • See The Selected element has been deleted.

Crash dump submitted (no or yes + date)

no

Any other potentially relevant information

I just gave the code a look and it doesn't really handle network errors specifically at all. ping @zedlabs