Streetcomplete: Bug report: Negative number on answers-to-upload counter

Created on 23 Nov 2018  路  9Comments  路  Source: westnordost/StreetComplete

Hi,

Just a simple bug to report : I sometimes have a negative number on the number of answers to upload. Just have a look at the screenshot.

image

How to Reproduce
It just appears sometimes. When I have a negative number (-1), I can close the app and then come back to it, the number is back to 0. I'm connected to internet via the WiFi of my university all the time.

Versions affected
8.4 (version I currently have)

bug

All 9 comments

Are you using "undo" before it happens?

Nop, I never use it. I just answered the question, and then the answer was automatically uploaded since I have internet enabled.

Hmm, right now I can't think of how this bug can come to pass, I will look at it later.

Hm, can't find anything in the code. After an upload finished, the whole counter is updated from the database, so even if the counter was wrong in the meantime, it should be reset to the correct values then.

The question is what "feedback" you require? And from whom? (Maybe the tag "help wanted" would suit here?)

More feedback on how to reliably reproduce the bug.

This week I observed this phenomenon with SC v10.1 (Android 5.1). I solved 7 quests and left a note (no auto upload). After the upload, the counter after the arrow icon showed -1, similar to the screenshot of the issue opener. After minimizing and restoring the app the counter showed 0. Perhaps it has something to do with leaving notes? Will observe further.

The cycling cat

I can reproduce it, by choosing to hide a quest, then undoing it (the hiding).

Obsolete with new ui

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HolgerJeromin picture HolgerJeromin  路  3Comments

JulienPalard picture JulienPalard  路  3Comments

tordans picture tordans  路  4Comments

Helium314 picture Helium314  路  3Comments

escoand picture escoand  路  4Comments