Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmarks leaves markers when duplicate entries in an import #796

Open
nexushoratio opened this issue Dec 31, 2024 · 0 comments
Open

Bookmarks leaves markers when duplicate entries in an import #796

nexushoratio opened this issue Dec 31, 2024 · 0 comments

Comments

@nexushoratio
Copy link
Contributor

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
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant