Closed
Bug 656754
Opened 13 years ago
Closed 13 years ago
URLs without the trailing slash "/" result in an Internal Server Error / HTTP status code 500 - AttributeError 'str' object has no attribute 'resolve'
Categories
(Websites :: webifyme.org, defect, P2)
Websites
webifyme.org
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: williamr, Assigned: adam)
References
()
Details
We just started seeing 500 errors on several Webify Me pages on dev-stage. This includes: https://webifyme-dev.allizom.org/quiz/ https://webifyme-dev.allizom.org/features/ https://webifyme-dev.allizom.org/collage/e2c5ffc9c060/ This bug currently blocks QA testing
Comment 2•13 years ago
|
||
Pegging celery at af18771ea26faf7a2005 in Vendor library
Comment 3•13 years ago
|
||
/ and /collage/e2c5ffc9c060 - fixed, 500 from Bug#657040 (fixed, but needs restart) /quiz - 500 'str' object has no attribute 'resolve'
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Comment 5•13 years ago
|
||
Okay, we still need to fix /quiz and /collage/e2c5ffc9c060 AttributeError at /quiz 'str' object has no attribute 'resolve'
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: Webify Me 500 error on several pages → Webifyme.org /quiz 500 AttributeError 'str' object has no attribute 'resolve'
Comment 6•13 years ago
|
||
(In reply to comment #5) > Okay, we still need to fix /quiz and /collage/e2c5ffc9c060 > > AttributeError at /quiz > > 'str' object has no attribute 'resolve' Where are you seeing these errors? I'm able to load those two URLs (and more) without triggering a 500, at least ostensibly.
Comment 7•13 years ago
|
||
https://webifyme-dev.allizom.org/quiz
Comment 8•13 years ago
|
||
(In reply to comment #7) > https://webifyme-dev.allizom.org/quiz Aha; I was using the URLs from comment 0, which all have the trailing slash :-)
Comment 9•13 years ago
|
||
Looks like /quiz isn't a valid link, so this is a lower priority bug to fix.
Severity: blocker → normal
Priority: P1 → P2
Updated•13 years ago
|
Summary: Webifyme.org /quiz 500 AttributeError 'str' object has no attribute 'resolve' → URLs without the trailing slash "/" result in an Internal Server Error / HTTP status code 500 - AttributeError 'str' object has no attribute 'resolve'
Marking this as blocking bug 655130, because 404s are now returning 500.
Assignee | ||
Comment 11•13 years ago
|
||
If I make the trailing slashes conditional, would that fix this bug?
Assignee: nobody → adam
Comment 12•13 years ago
|
||
(In reply to comment #11) Not sure what that means. Normal pages and error pages should be able to render. If 'URLs without a trailing slash' can only be created artificially, then this sounds fine and fixing it completely would be a lower priority. Why? Ideally our systems are robust and don't provide known ways to generate server errors for performance and security reasons.
Assignee | ||
Comment 13•13 years ago
|
||
This is what I meant: https://github.com/mozilla/webifyme/commit/0f3f5529f3c806f8af6539ad2887d50eb7f65916 Does that resolve this issue?
Comment 14•13 years ago
|
||
Thanks Adam.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•