Closed Bug 550547 Opened 14 years ago Closed 14 years ago

redirection to addon homepage for listed addons does not work

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P3)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vish_moz, Assigned: jbalogh)

References

()

Details

Attachments

(2 files)

redirection to addon homepage does not work from the sorted list page
https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:all?sort=newest

STR:
1. go to AMO preview https://preview.addons.mozilla.org/en-US/firefox
2. under 'browse addons' click on 'Just added'
3. scroll down and click on 'view all newly created addons' https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:all?sort=newest
4. click on 'View Homepage' button for one of the listed addons

Actual result:
you do not get redirected

Expected result:
you should get redirected to the listed addon Homepage

Note: If you go to that listed addons details page and then click 'View Homepage', you will be redirected successfully.
The Continue To Homepage button is pointing at the current URL (the browse page) instead of the external link.
redirection does not work from user profile page either,
https://preview.addons.mozilla.org/en-US/firefox/user/5143311
(In reply to comment #2)
> redirection does not work from user profile page either,
> https://preview.addons.mozilla.org/en-US/firefox/user/5143311

Can you be more specific please?  I didn't see any problems there.
(In reply to comment #3)
> (In reply to comment #2)
> > redirection does not work from user profile page either,
> > https://preview.addons.mozilla.org/en-US/firefox/user/5143311
> 
> Can you be more specific please?  I didn't see any problems there.

STR:
1. go to https://preview.addons.mozilla.org/en-US/firefox/user/5143311
2. scroll down to "Facebook Toolbar" addon
3. click on "view homepage" button

Actual result:
you do not get redirected to that addon's homepage.
Target Milestone: --- → 5.8
This is caused by having multiple homepage buttons on the same page.  It looks like it loops through every button in the init, and you're hitting "if (!match)" on line 2360 of addons.js and hiding the popup.  So, the popups are working, they are just getting hidden before you can see them.
Assignee: nobody → jbalogh
Priority: -- → P3
Comment on attachment 432905 [details] [diff] [review]
bind the trigger after we know what slideBox to look at

hell yeah
Attachment #432905 - Flags: review?(clouserw) → review+
r64256
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified, FIXED.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: