Closed Bug 625677 Opened 14 years ago Closed 14 years ago

validator links are 404

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
5.12.6.*

People

(Reporter: fligtar, Unassigned)

Details

the devhub navigation in both remora and zamboni under Tools -> Add-on Validator sends to 404

https://addons.mozilla.org/en-US/developers/addon/validate
Target Milestone: --- → 5.12.6.*
That url is really unfortunate with the new slugs scheme- It looks like we now think you're editing an addon called "validate". I don't know what we can do with rewrite rules to patch around that, if at all.
couldn't a [L] rule specific to validate supersede slugs?
I'm not sure about Remora but in Zamboni this page doesn't even exist. D'oh.  All we have is 1) the ability to upload/validate a new Add-on or 2) go to the versions page and click "validate now" for any unvalidated files.

Does it still make sense in Zamboni to have a separate validator page completely detached from the Add-on submission process?
(In reply to comment #3) 
> Does it still make sense in Zamboni to have a separate validator page
> completely detached from the Add-on submission process?

Yes.
Yes, but we don't need to do that as part of this bug. I was aware we didn't and noted in flignotes. For now we can still link to the Remora validator page and when we rewrite the rest of the Developer Hub we'll get it too.
We should stop an addon from getting the slug validate as well.
This is fixed on PAMO.  We had to hardcode the URL in a rewrite.  I made sure it still validated and made sure the new dev tools worked, but we should get some more eyes on it before we push it live.  Just poke around and make sure stuff still works.

RewriteRule ^(?:(?:/\w{2,3}(?:-\w{2})?)?(?:/(?:firefox|seamonkey|thunderbird|mobile|sunbird))?)?/developers/addon/validate(?:/.*)?$ - [L]

Is what we used I think
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
(In reply to comment #6)
> We should stop an addon from getting the slug validate as well.

Hmm, a lot of URLs in devhub would have to be re-written if we were to support slugs on developer pages.  The devhub urls.py still only supports addon IDs.
I moved the devhub/slug issue to bug 625842 -- Sorry if there's a dupe, I searched but couldn't find it.
Verified FIXED on preview.
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.