Skip to content

Potential bug : just uploaded POIs sometimes disappear -> Duplicated "close" POI #109

Open

Description

@xcriptus

Though the "duplicate POIs" bug #102 is reproductible, I've seen various time this one, yet I don't know how to reproduce.

(1) Load data
(2) Add some POIs (so with (N))
(3) Upload these POIs. So far so good. No Problem.
(4) When OSM Go "refreshs" the map immediately after the upload the POIs just uploaded disappear. (The correct behavior is just removing the (N). In this case no crash, nothing special. The only problem is that the POIs are not shown anymore on the map.

I've seen this a couple of time so I mentions it here for the sake of the record. BTW to see the points again I had to clear data AND restart the app.

The end result ? The user could be confused or forgot that so he or she create again the POIs where there are. This could ultimately lead to close POIs, but not identical POIs (by contrast to #102).

I don't know if this bug is reproductible yet. A symptoma of this bug would be users that create POIs almost at the same place (since they don't see what they have already created just before).

Vive OSM Go :-)

Activity

  1. Binnette commented on May 31, 2022

    @Binnette
    Collaborator

    Hi @escribis, am I correct ?

    1. You send new POI
    2. OsmGo "refresh" the current view
    3. Your new POI are not displayed 😢

    Maybe, the "refresh" is too fast? So the new POI are not "committed" in OSM.org then when OsmGo "refresh", the new POI are "not yet" sent by OSM API?

    If so, may be we can:

    • delay the "refresh"
    • or refresh in a loop until OsmGo received the newly created POI 👎
    • or may be implement a mechanism to ask the API if the new changeset is committed and then refresh

    I don't know yet how OsmGo is working. So @DoFabien will probably have better ideas than me...

  2. xcriptus commented on Jun 1, 2022

    @xcriptus
    Author

    Bonjour

    I've mangaged to reproduce this bug (in fact I intended to create a scenario for #102 but instead of finishing with a crash and dupicated POIs it finish with POI that are sent but no more on the screen.

    • (1) Loaded a lot of data. -> Crash at 31000
    • (2) Crash at 46000
    • (3) Reached 60000, enough for the test
    • (4) Created some lampost and uploaded them at (abour 60 as far I remember, not sure)
    • (5) Upload. About 15mn of slow count down. I expected a crash and Duplicate POI nodes sent. #102 but nothing :-)
    • (6) When the map is then display some lamposts are not there. See below .
      Selection_999(296)
    • (7) reloading data -> nothing happen. Lamposts are hidden
    • (8) checking id. Lamposts are there. See below lamposts with red lines.
      Selection_999(300)
      ISSUE As the user does not realize that the POIs has gone and it is likely that she/he will created them again. This results in "duplicated close POIs".
    • (9) Restarting the application. As far as I remember it crashed once.
    • (10) Restarting the application. Now the lampost are there. See below.
      Selection_999(298)
      NOTE: I don't know if all POIs disappear or just some of them.
  3. added this to the 1.6.0 milestone on Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions