Closed
Bug 501983
Opened 15 years ago
Closed 15 years ago
404 pages should not list articles in other locales
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.3
People
(Reporter: cilias, Assigned: paulc)
References
()
Details
(Whiteboard: tiki_bug, tiki_upstreamed)
Attachments
(1 file, 1 obsolete file)
580 bytes,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
Go to http://support-stage.mozilla.org/en-US/kb/Cannot+log+in+to+websitess The list of recommended articles includes many articles in other locales. It should only list articles that are in the language of the locale in the URL.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → paul.craciunoiu
Severity: normal → minor
Assignee | ||
Comment 1•15 years ago
|
||
This might go up to Tiki too.
Attachment #386549 -
Flags: review?(smirkingsisyphus)
Attachment #386549 -
Flags: review?(laura)
Updated•15 years ago
|
Attachment #386549 -
Flags: review?(laura) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #386549 -
Flags: review?(smirkingsisyphus)
Assignee | ||
Comment 2•15 years ago
|
||
Actually, it would be better to check locale is set before passing it.
Attachment #386549 -
Attachment is obsolete: true
Attachment #391415 -
Flags: review?(laura)
Updated•15 years ago
|
Attachment #391415 -
Flags: review?(laura) → review+
Assignee | ||
Comment 3•15 years ago
|
||
r48835 / r48836.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Verified FIXED on http://support-stage.mozilla.org/en-US/kb/Cannot+log+in+to+websitess; viewed source so I could check the locales easier :-)
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 5•15 years ago
|
||
Marc: is this fixed in latest Tiki?
Updated•15 years ago
|
Whiteboard: tiki_bug
Comment 6•15 years ago
|
||
Check of $_REQUEST['locale'] in the lib is not really nice. Plus, that variable is specific to the SUMO rewrite rules. I'm also not convinced this is desired in all cases.
Whiteboard: tiki_bug → tiki_bug, tiki_discuss
Assignee | ||
Comment 7•15 years ago
|
||
Admittedly the fix wasn't a nice one. Sorry about that. A better solution is to add an option for filtering by locale, and passing that in when issuing the 404 for pages. The larger scope of this is also discussed in other bugs, but the functionality we want for SUMO is to be able to have pages with the same title in different locales -- as such, case tying <locale,page title> together is desired in all cases.
Updated•15 years ago
|
Whiteboard: tiki_bug, tiki_discuss → tiki_bug, tiki_upstreamed
You need to log in
before you can comment on or make changes to this bug.
Description
•