Page MenuHomePhabricator

Guess the name from id (not from URL parameter)
Closed, DeclinedPublic

Description

The first time I access a URL such as
http://korma.wmflabs.org/browser/people.html?id=3&name=FooBar
it shows the name FooBar instead of the appropriated name. In subsequent accesses, the correct name is displayed (but I'm able to reproduce the problem by changing the id number to something which I not tested so far)


Version: unspecified
Severity: minor

Details

Reference
bz63062

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:00 AM
bzimport set Reference to bz63062.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Helder from comment #0)

The first time I access a URL such as
http://korma.wmflabs.org/browser/people.html?id=3&name=FooBar

What do you click in order to en in a page like this?

Clicking "Brian Davis" at http://korma.wmflabs.org/browser/scm.html leads to

http://korma.wmflabs.org/browser/people.html?id=531&name=Bryan%20Davis

If I change the paramenter, the result is still correct e.g.

http://korma.wmflabs.org/browser/people.html?id=531&name=Quim%20Gil

still shows "Brian Davis" in the page.

Such links were not in the interface, I was making some test and replaced the id (not the name) parameter of a link such as the one you mentioned and noticed the displayed name was still the same.

For example, if I click in "Reedy" at http://korma.wmflabs.org/browser/scm.html
it opens
http://korma.wmflabs.org/browser/people.html?id=204&name=Reedy
and if I replace "204" by "224" the name is still "Reedy" (instead of "coren").

BTW: Why do we need both an id and a name?

Qgil lowered the priority of this task from Medium to Low.Jan 8 2015, 11:25 AM
Aklapper claimed this task.
Aklapper subscribed.

Seems not to be valid anymore? (If you can still reproduce please reopen.)

Links on http://korma.wmflabs.org/browser/scm.html now have only one ID parameter like http://korma.wmflabs.org/browser/people.html?id=25de7a6387ca833bd2fbe6e6f0a3ddc72cd065df and even when passing a "name" parameter like in http://korma.wmflabs.org/browser/people.html?id=25de7a6387ca833bd2fbe6e6f0a3ddc72cd065df&name=FooBar I still see Kunal's name on that page.