Closed
Bug 658769
Opened 13 years ago
Closed 12 years ago
Links in notification e-mails for KB forums should contain the locale in order to prevent a Page-not-found error
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2012Q4
People
(Reporter: scoobidiver, Assigned: rrosario)
Details
(Whiteboard: u=contributor c=wiki p=1 s=2012.20)
Links in notification e-mails for discussion forums should contain the locale because you can monitor English discussion forums in a browser where the first preferred language is not en-US.
Reporter | ||
Updated•13 years ago
|
Summary: Links in notification e-mails for discussion forums should contain the locale → Links in notification e-mails for discussion forums should contain the locale in order to prevent a Page-not-found error
Reporter | ||
Comment 1•13 years ago
|
||
I meant KB forums (Discussion button in articles).
Summary: Links in notification e-mails for discussion forums should contain the locale in order to prevent a Page-not-found error → Links in notification e-mails for KB forums should contain the locale in order to prevent a Page-not-found error
Reporter | ||
Updated•13 years ago
|
Component: Knowledge Base Software → Forum
QA Contact: kb-software → forum
Updated•13 years ago
|
Component: Forum → Knowledge Base Software
QA Contact: forum → kb-software
Up. Found that this bug is still present. I received a notification for this post: https://support.mozilla.org/kb/give-websites-ability-store-passwords-cookies-and-more/discuss/4647#post-7788 giving a "page not found error". Thanks
Assignee | ||
Updated•12 years ago
|
Whiteboard: u=contributor c=wiki p=1
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 2012Q4
Comment 3•12 years ago
|
||
The thing is: We don't know what language you want to get those links in. So in the absence of that, sending no language qualifier should in most cases send you to the right place. If you are a Chinese localizer it's very likely that you'll use a Chinese Browser. So, I'm inclined to close this bug. Thoughts?
Flags: needinfo?(scoobidiver)
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Kadir Topal [:atopal] from comment #3) It's independent from the first preferred language of your browser. There are two settings: "Watch KB discussion threads I start:" and "Watch KB discussion threads I comment in", so if I post a thread in an English article discussion, I want to receive notifications with en-US in the URL, and for a French article discussion with fr in the URL.
Flags: needinfo?(scoobidiver)
Comment 5•12 years ago
|
||
You are right, I mixed the two up. This is indeed an issue.
Whiteboard: u=contributor c=wiki p=1 → u=contributor c=wiki p=1 s=2012.20
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Assignee: nobody → a.topal
Comment 6•12 years ago
|
||
This is significantly more work than I had expected. We need to do this for KBforums, but also for discussion forums (which we might use for Firefox OS support) and questions.
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to Kadir Topal [:atopal] from comment #6) > This is significantly more work than I had expected. We need to do this for > KBforums, but also for discussion forums (which we might use for Firefox OS > support) and questions. No. It's only applicable to KBforums, there's no need to have the locale in contributor forums and questions notification emails.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Scoobidiver from comment #7) > (In reply to Kadir Topal [:atopal] from comment #6) > > This is significantly more work than I had expected. We need to do this for > > KBforums, but also for discussion forums (which we might use for Firefox OS > > support) and questions. > No. It's only applicable to KBforums, there's no need to have the locale in > contributor forums and questions notification emails. Yep, what Scoobidiver said. Discussion forums aren't locale specific.
Comment 9•12 years ago
|
||
Okay, it looks like this is fixed already. This is how an email I sent out locally looks like: https://support-local.allizom.org/de/kb/privater-modus/discuss/4652 or, with an English one: https://support-local.allizom.org/en-US/kb/superheroes-wanted/discuss/4651#= post-7802 Scoobie, Simone, please reopen if this is not fixed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 10•12 years ago
|
||
It's not fixed. Here is an extract of the notification email I received watching https://support.mozilla.org/en-US/kb/remove-babylon-toolbar-home-page-and-search-engine/discuss/4656 " To view this post on the site, click the following link, or paste it into your browser's location bar: https://support.mozilla.org/kb/remove-babylon-toolbar-home-page-and-search-engine/discuss/4656#post-7818 " If I click the link, because my first browser preferred language is French I go to https://support.mozilla.org/fr/kb/remove-babylon-toolbar-home-page-and-search-engine/discuss/4656 which doesn't exist of course.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 11•12 years ago
|
||
That's weird. This is working for me locally, but in production I only get the URL without the locale. Ricky, any idea what might be going on here?
Assignee | ||
Comment 12•12 years ago
|
||
There is probably no locale activated in the celery task. We should be explicitly setting passing the locale to the reverse() call in this case.
Assignee | ||
Comment 13•12 years ago
|
||
Grabbing. We need to explicitly set the url in the reverse calls that happen inside `get_absolute_url()` for Thread and Post.
Assignee: a.topal → rrosario
Assignee | ||
Comment 14•12 years ago
|
||
In a pull request: https://github.com/mozilla/kitsune/pull/918
Assignee | ||
Comment 15•12 years ago
|
||
Landed on master: https://github.com/mozilla/kitsune/commit/55aa32d9aef1e2acfac51bc48ea11b20e19916ca
Assignee | ||
Comment 16•12 years ago
|
||
Landed in prod
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•12 years ago
|
||
Thanks. It works: " To view this post on the site, click the following link, or paste it into your browser's location bar: https://support.mozilla.org/en-US/kb/forum-response-multiple-tabs-disable-warning/discuss/4662#post-7838 "
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•