Closed Bug 604181 Opened 14 years ago Closed 12 years ago

wrong mitchell in tree view

Categories

(Webtools Graveyard :: Phonebook, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: wenzel)

References

Details

I was just browsing the tree view and noticed that Dustin Mitchell's card is "on top" of Mitchell Baker's: https://ldap.mozilla.org/phonebook/tree.php#search/mitchell@mozilla.com If you scroll down you can see Mitchell's card hiding under Dustin's.
This seems to be an unforeseen problem with the built-in integrated search. When you click on a name it fills the search form with that persons email address, then runs search. You can try searching in a similar manner with any email (e.g. r@mozilla.com will return all emails that end with "r"). This is why the two emails that also end with "mitchell" appear above hers. To fix this bug a rewrite of how a users vCard are displayed will have to be performed (e.g. hardlink a user's account in the tree view on the left to their vCard).
Group: mozilla-corporation-confidential
Assignee: nobody → bsavage
Talked with Schalk, this is a complex javascript bug that he is better suited to handle. I'll work with him to make sure he has the background he needs.
Assignee: bsavage → sneethling
I have a somewhat simple fix for this.
Assignee: sneethling → fwenzel
3-line fix is in r107908. What this does: - it lets multiple cards float next to each other rather than stacking them - if there's more than one card, this patch disables making it sticky as you scroll down the tree. There will be edge cases where this is odd ("where's my card? Oh, at the top"), but deal with it. All people matching your query will then show up at the top of the page, next to each other. Closing this one out. Rejoice! CCing Rob Tucker and Jabba: Can either of you deploy this to prod?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Thank you, Fred. When will the fix be implemented so we can see the correct view? Thanks again.
I'm pushing to production now. Should be visible in a few minutes.
Awesome. Thanks!
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.