Skip to content

Bookmarks leaves markers when duplicate entries in an import #796

@nexushoratio

Description

@nexushoratio

Just a minor resilience issue solved by reloading the page.

Import the following that was edited by hand to include the same portal twice. Click on the marker to demonstrate that two markers exist.

Delete one of the bookmark entries. One of the markers stays behind. A page reload resolves.

Depending on which way the entry was deleted (via [x] in the UI box, or in the portal details), other things may get left behind as well, generally also resolved on a page reload.

Obviously, garbage-in/garbage-out, but if someone is bored and wanted to improve it a bit...

{
  "maps": {
    "idOthers": {
      "bkmrk": {},
      "label": "Others",
      "state": 1
    }
  },
  "portals": {
    "idOthers": {
      "bkmrk": {
        "id17211025277193833": {
          "guid": "09d5d1e149014c70ba3154fe3421e2a6.12",
          "label": "Tetrahelix",
          "latlng": "37.423521,-122.089649"
        },
        "id17211025277193834": {
          "guid": "09d5d1e149014c70ba3154fe3421e2a6.12",
          "label": "Tetrahelix",
          "latlng": "37.423521,-122.089649"
        }
      },
      "label": "Others",
      "state": 0
    }
  }
}

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