Closed
Bug 523681
Opened 15 years ago
Closed 15 years ago
Japanese Tattoo persona can't apply
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: oremj)
References
()
Details
I can't get http://www.getpersonas.com/en-US/persona/7610 to apply -- bad JSON or something?
(https://addons.mozilla.org/en-US/firefox/persona/18781 too.)
Comment 1•15 years ago
|
||
json validates. I recall that one working yesterday, while a lot of others weren't. Is that the only one?
Reporter | ||
Comment 2•15 years ago
|
||
http://www.getpersonas.com/en-US/persona/353 too; there are probably more.
Comment 3•15 years ago
|
||
Raw file isn't showing up. Is it present at /var/www/personas/static/1/0/7610/persona2.jpg ?
Comment 4•15 years ago
|
||
Adding jeremy, he might know where to look.
Comment 5•15 years ago
|
||
http://www.getpersonas.com/en-US/persona/61136 has the same problem.
Comment 6•15 years ago
|
||
I'm moving this to IT b/c it's probably due to the migration today.
Assignee: telliott → server-ops
Severity: major → critical
Component: getpersonas.com → Server Operations
Product: Websites → mozilla.org
QA Contact: getpersonas-com → mrz
Version: unspecified → other
Updated•15 years ago
|
Assignee: server-ops → dmoore
Comment 7•15 years ago
|
||
I can confirm that the server is sending 404 responses for files which are present on disk. We're investigating.
Comment 8•15 years ago
|
||
Actually, I suspect this has been broken for some time. The problem is caused
by (among others) this AliasMatch directive in the Apache configuration:
AliasMatch /([a-zA-Z-]+/)?persona(.*)
/mnt/netapp/personas/server/personadetail.php$2
The regex isn't strict enough. For example, it matches against
http://www.getpersonas.com/static/3/6/61136/personas.jpg and rewrites it to a
useless value. Any persona which references a filename like "personas.jpg" is
likely broken.
Comment 9•15 years ago
|
||
Who's responsible for maintaining these aliases?
I imagine most of them can by fixed by pinning them to the beginning of the path ( ^/([a-zA-Z-]+/)?persona(.*) ), but I'm not familiar enough to be certain this is appropriate for all 25+ directives.
Comment 10•15 years ago
|
||
(In reply to comment #9)
> Who's responsible for maintaining these aliases?
>
> I imagine most of them can by fixed by pinning them to the beginning of the
> path ( ^/([a-zA-Z-]+/)?persona(.*) ), but I'm not familiar enough to be certain
> this is appropriate for all 25+ directives.
They've been modified by a few people over time. I agree, they can probably all be pinned to the beginning of the url.
I updated all of the locally and tested. Pages work, but I don't have any personas images on my local machine to verify this fixes this bug.
I say we fix that one url by pinning it to the beginning and see if it works.
Comment 11•15 years ago
|
||
There should be a static alias right at the start of the config which would override these.
Pinning them looks like it should be fine.
Comment 12•15 years ago
|
||
I've pinned the regex called out in Comment #8, and it appears to have fixed all reported problems in this bug.
Reporter | ||
Comment 13•15 years ago
|
||
(In reply to comment #12)
> I've pinned the regex called out in Comment #8, and it appears to have fixed
> all reported problems in this bug.
I can confirm/verify that; thanks, Derek.
Comment 14•15 years ago
|
||
wfm too. thanks Derek!
Comment 15•15 years ago
|
||
Stephen, this can be marked fixed, correct?
Reporter | ||
Comment 16•15 years ago
|
||
(In reply to comment #15)
> Stephen, this can be marked fixed, correct?
Yeah, then I'll verify it.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 18•15 years ago
|
||
Several personas, including Japanese Tattoo are not applying. See thread on forum: http://groups.google.com/group/mozilla-labs-personas/browse_thread/thread/667373dc5f8831a8
I'm able to reproduce.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 19•15 years ago
|
||
It looks like there was a personas update last night which reverted my manual fix. We'll need to get the regex changes approved and checked in to avoid this in the future.
I'll manually correct it again, at this point.
Comment 20•15 years ago
|
||
Has a bug been filed to automate this in the future?
Comment 21•15 years ago
|
||
r54546 adds the 1 change Derek made earlier. Bug 520412 was created to move the aliases to .htaccess files to avoid edits to apache configuration.
Comment 22•15 years ago
|
||
Closing this bug, further work will be tracked in bug 520412.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 23•15 years ago
|
||
Re-opening, seems like it keeps getting ovewritten.
r54906 adds the ^ to prod tag.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•15 years ago
|
Assignee: dmoore → jeremy.orem+bugs
Assignee | ||
Comment 24•15 years ago
|
||
Derek added the fix to puppet, so it should no longer be overwritten.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 25•15 years ago
|
||
(In reply to comment #24)
> Derek added the fix to puppet, so it should no longer be overwritten.
Awesome, thanks!
Comment 27•15 years ago
|
||
Thanks for squishing this bug once and for all!
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•