Opened 6 years ago

Closed 6 years ago

#4945 closed defect (fixed)

Manual editing of permalink in address bar broken

Reported by: MHohmann Owned by: rails-dev@…
Priority: major Milestone:
Component: website Version:
Keywords: permalink, address bar, layers Cc:

Description

I'm using Firefox 23.0 on Ubuntu 12.04 and encountered the following problem:

  1. I navigate to http://www.openstreetmap.org and zoom into some area.
  2. In the address bar I get a permalink, say this one: http://www.openstreetmap.org/#map=8/58.898/25.587
  3. I switch to the traffic map and the link changes like this: http://www.openstreetmap.org/#map=8/58.898/25.587&layers=T
  4. I remove the "&layers=T" part in the adress bar and hit Enter, thus reproducing the permalink I had there before.
  5. I do _not_ get to the previous view / Mapnik layer, but instead the traffic map stays and the "&layers=T" in the address bar reappears.

Alternative:

  1. I change the "&layers=T" to "&layers=C" (permalink to the cycle map).
  2. I do _not_ get to the cycle map, but instead the traffic map stays. The "&layers=C" and the "&layers=T" in the address bar reappears as soon as I change the map area.

Expected behaviour: Entering a new permalink in the address bar should navigate to whatever that permalink describes.

Actual behaviour: Entering those permalinks has no effect and the changes in the address bar are reverted.

Change History (1)

comment:1 Changed 6 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Fixed in 9bcd049/rails.

Note: See TracTickets for help on using tickets.