Closed
Bug 857210
Opened 12 years ago
Closed 12 years ago
Unable to access user profile page for theme owners
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P4)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
WORKSFORME
2013-04-04
People
(Reporter: krupa.mozbugs, Assigned: cvan)
References
Details
steps to reproduce:
1. Compare https://addons.mozilla.org/en-US/firefox/addon/little-flowers/ vs. https://addons-dev.allizom.org/en-US/firefox/addon/little-flowers/
2. Notice the theme owner name in both links
observed behavior:
In prod, theme owner name is a link which loads the user profile page. On -dev it is not a link.
Please investigate
Assignee | ||
Comment 1•12 years ago
|
||
I think this is just a matter of enabling the `personas-migration-completed` waffle switch in prod. I don't think the owner of Little Flowers was ever migrated on -dev but was on prod. Clouser, did we fully migrate all the users on -dev?
Flags: needinfo?(clouserw)
Priority: -- → P1
Comment 2•12 years ago
|
||
I don't think so, and either way it's test data - no telling what is going on. I don't think this is valid unless we do a fresh dump from prod.
Flags: needinfo?(clouserw)
Reporter | ||
Comment 3•12 years ago
|
||
None of the themes on dev have the owner names enabled. This cannot be an issue related to specific test data.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to krupa raj 82[:krupa] from comment #3)
> None of the themes on dev have the owner names enabled. This cannot be an
> issue related to specific test data.
It most definitely is related to the waffle switch and imported data.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → cvan
Status: NEW → ASSIGNED
Updated•12 years ago
|
Priority: P1 → P4
Assignee | ||
Comment 5•12 years ago
|
||
The Takeaway:
There's no bug to speak of, and all the user links will magically appear everywhere on theme pages when we push to production.
The Excuse:
We ran the user migration script on prod. The user exists on prod at (https://addons.mozilla.org/en-US/firefox/user/bluszcz/) but does not exist on -dev (https://addons-dev.allizom.org/en-US/firefox/user/bluszcz/).
Notice how the "by bluszcz" is not a link but "Artist: bluszcz" is a link: http://f.cl.ly/items/1S2V1i0H34030E0W0y1x/Screen%20Shot%202013-04-04%20at%2012.10.43%20AM.png
https://github.com/mozilla/zamboni/blob/master/apps/addons/models.py#L1744
Once we push to production and `personas-migration-completed` is enabled, you'll see author links everywhere for themes. This was an oversight on our part, but both of them should be links only when the `personas-migration-completed` switch is enabled. Because the user does not exist on -dev that's why you see both a blank byline and text instead of a link for the artist name, respectively: http://f.cl.ly/items/3y3d3n1J2B0c3F210q38/Screen%20Shot%202013-04-04%20at%2012.12.27%20AM.png
My sincere apologies for overcomplicating this, and I hope my explanation actually isn't any more confusing than the bug in question here.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•