Closed Bug 570646 Opened 16 years ago Closed 15 years ago

Relative URLs on the Discovery Pane go to services.amo

Categories

(addons.mozilla.org Graveyard :: Discovery Pane, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
5.11.4

People

(Reporter: hackwrench1, Assigned: davedash)

References

()

Details

(Whiteboard: [r=clouserw])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a5pre) Gecko/20100607 Minefield/3.7a5pre ( .NET CLR 3.5.30729; .NET4.0E) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a5pre) Gecko/20100607 Minefield/3.7a5pre ( .NET CLR 3.5.30729; .NET4.0E) I went to about:addons, clicked on "Browse all add-ons", got the response, "Forbidden You don't have permission to access /en-US/firefox/ on this server." I went then to Report A Broken Website and got the message, "There was an error creating the report, and so no information was sent to mozilla.org" and "Error Details url must use a valid URL syntax http://mozilla.com/page Then I went to Mozilla QA Companion and got the error message, "Application failed during request deserialization..." Reproducible: Didn't try Steps to Reproduce: 1. Go to Tools|Add=ons, click on Browse all add-ons 2.Get Forbidden error. Go to Help|Report Broken Web Site. Enter information and click on "Submit Report". 3. Get error messaage, "There was an error creating the report, and so no information was sent to mozilla.org" 4. Click on QA Icon. QA will give the error message, "Application failed during request deserialization..." Actual Results: Three unusable features in Firefox. Expected Results: Feature should work with no errors. The Browse all add-ons link should take me to add ons, Broken website should see about:addons as a valid URL. QA should not have had any error.
Component: General → Add-ons Manager
Product: Firefox → Toolkit
QA Contact: general → add-ons.manager
Version: unspecified → Trunk
Seems like three separate bugs. "Browse all add-ons" not working right is AMO's problem. The others should probably be filed separately.
Component: Add-ons Manager → Discovery Pane
Product: Toolkit → addons.mozilla.org
QA Contact: add-ons.manager → discoverypane
Version: Trunk → unspecified
the 2 links of "Get Add-ons" lower right pane both start with services.addons.mozilla.org removing the _services._ from the URLs goes to valid pages.
The second item, trying to report the forbidden page doesn't update the URL, so the when using that feature, it tries to send about:addons as valid URL. Which might be a wontfix, since about: pages of firefox are not broken websites.
Since this bug fell into AMO, I'm retargeting it at the AMO error.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
Summary: Browse all add-ons, Report a Broken Website, and Mozilla QA Companion all failed → Relative URLs on the Discovery Pane go to services.amo
Target Milestone: --- → 5.12
Add https://services.addons.mozilla.org/collection/enkei to the list in the middle section.
I see some of the links going to SAMO and some going to AMO. We can fix it up. dd: 1) go to about:addons 2) click "get add-ons" 3) hover over a few of the links, some go to SAMO which will 403
Assignee: nobody → dd
Target Milestone: 5.12 → 5.11.4
I wonder if its possible to get this fixed before beta1?
When's beta 1? 5.11.4 is due July 13.
(In reply to comment #8) > When's beta 1? > > 5.11.4 is due July 13. The summit is messing up our usual push schedule; this bug is scheduled to go live on July 13th. See https://mail.mozilla.com/home/wclouser@mozilla.com/AMO%20Schedule.html
Well, for beta1 we will serve another page: https://preview.addons.mozilla.org/z/en-US/firefox/discovery/3.7/Linux So no need to have a rush here.
Does <base> work? http://dev.w3.org/html5/markup/base.html "The base element specifies a document-wide base URL for the purposes of resolving relative URLs, and a document-wide default browsing context name for the purposes of following hyperlinks."
(In reply to comment #11) > r? http://github.com/davedash/zamboni/compare/master...discovery-links-570646 I don't have separate hosts but it seems like that would work. I agree <base> would be cleaner though - can we use that here?
http://github.com/davedash/zamboni/compare/master...discovery-links-570646-take-2 We can! Google Chrome likes it, I don't see why Firefox wouldn't either :)
Whiteboard: [r?clouserw] → [r=clouserw]
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
How do I test this on preview? Do I just change |extensions.webservice.discoverURL| and set it to https://preview.addons.mozilla.org/%LOCALE%/%APP%/discovery/%VERSION%/%OS% ?
@stephend: This isn't easily testable since PAMO doesn't have multiple hostnames pointing at it. @davedash: I don't think your fix works anymore. SAMO has it's own settings.py so your fix will just hardcode all the links to SAMO. We want them hardcoded to AMO.
SITE_URL should always be whatever the actual AMO site is, not SAMO. Can I see settings_local.py for SAMO?
Reopening so we don't drop comment 17 and comment 18 on the floor.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.