Favorites: a shared group with the same name as an own group opens the own group

Aperta
#2,273 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
frontend

Direzione di ricerca

Start at the Favorites → Shared with Me flow and trace how selecting a shared group is resolved into the map URL; the issue identifies /map/mydata/favorites/?folder=food as the result when names collide. Check how that flow distinguishes the shared group from an own group, then verify that opening a same-name shared group shows its points and saved sort. The notes about the panel and empty labels are additional observations whose cause is not established.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When another account shares a favorite group whose name matches one of your own groups, opening it from Shared with Me opens your own group instead. The shared group cannot be opened at all while an own group has the same name.

Steps
  1. Account A has a favorite group food.
  2. Account B shares its own group food with account A.
  3. As account A: Menu → Favorites → Shared with Me → food.
Expected

The shared food opens: its points and its own sort.

Actual

The own food opens: its points, its saved sort (for example "Sort by: Nearest to map center" set on the own group), URL /map/mydata/favorites/?folder=food. The same happens with any name, checked with food and ozoo.

Also seen in the same flow, cause not checked:

  • the opened panel lists the shared groups ("food, empty", "ozoo, empty") above the points;
  • Shared with Me labels both shared groups "empty" although each has points.
Context

Found while testing #2072 (#1881), test case TC-22 "Own and shared group with the same name". Not caused by that PR: there the saved sorts of the two groups are already kept apart by id; only opening the shared group fails.

Environment: test.osmand.net, Chrome desktop, build with #2072 (11 Nov 2026).

Lingua principale
MDX
Stelle
63
Fork
431
Merge medio
17h 10m
PR unite (30g)
124

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di osmandapp/web

Tutte le issue di osmandapp/web

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.