Closed
Bug 762258
Opened 12 years ago
Closed 12 years ago
Don't show duplicate information in Account lookup
Categories
(Marketplace Graveyard :: Admin Tools, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2012-08-23
People
(Reporter: krupa.mozbugs, Assigned: wraithan)
References
()
Details
Attachments
(2 files)
steps to reproduce:
1. Load https://marketplace-dev.allizom.org/en-US/account-lookup/5540398/summary
2. Notice the 'Addresses' section
expected behavior:
We only show the latest address for the user OR at least show only distinct address information.
actual behavior:
We list a lot of duplicate information. See screenshot
Comment 1•12 years ago
|
||
The data model is a little weird because we capture payment info per addon not per developer. I can change it to filter out dupes though (and look a little prettier).
Assignee: nobody → kumar.mcmillan
Priority: -- → P3
Target Milestone: --- → 2012-06-14
Updated•12 years ago
|
Target Milestone: 2012-06-14 → 2012-06-21
Updated•12 years ago
|
Target Milestone: 2012-06-21 → 2012-06-28
Updated•12 years ago
|
Target Milestone: 2012-06-28 → 2012-07-12
Updated•12 years ago
|
Updated•12 years ago
|
Target Milestone: 2012-07-12 → 2012-07-26
Updated•12 years ago
|
Assignee: kumar.mcmillan → xwraithanx
Target Milestone: 2012-07-26 → 2012-08-16
Comment 2•12 years ago
|
||
The issue is that the template loops over developer addresses but does not check for duplicates. This can be fixed in the view before getting passed to the template:
https://github.com/mozilla/zamboni/blob/master/mkt/lookup/views.py#L54
https://github.com/mozilla/zamboni/blob/master/mkt/lookup/templates/lookup/user_summary.html#L71
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2012-08-16 → 2012-08-23
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2012-08-23 → 2012-08-16
Assignee | ||
Comment 3•12 years ago
|
||
andym suggests we leave this until we figure out payments. Most cases AddonPaymentData is going away or changing so we can deal with it then.
Here is the code I've written so far with some review comments:
https://github.com/wraithan/zamboni/commit/3ccea8c
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2012-08-16 → ---
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 2012-08-23
Assignee | ||
Comment 4•12 years ago
|
||
https://github.com/mozilla/zamboni/commit/28935b8
Will show addresses that differ at all.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•12 years ago
|
||
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 6•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•