Preview broken on localized discussion forums

VERIFIED FIXED in 2.8

Status

support.mozilla.org
Forum
P3
normal
VERIFIED FIXED
7 years ago
7 years ago

People

(Reporter: jsocol, Assigned: jsocol)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
We don't officially support the discussion forums in other languages, the UI isn't localized[1], for example. Though at this point I think there's very little burden left to localizers (most, if not all, of the strings are already localized from other apps). We could revisit that and stop ignoring the forums app.

Before or when we do that we should fix the way previewing posts/replies is broken in non-English.

Comment 1

7 years ago
I tested it for several locales and the previewing is only broken for fr and pt-BR.
I have used the French contributor forum for several months and it happened for the first time on April, 1st, may be after the fixing of bug 647240.
(Assignee)

Comment 2

7 years ago
https://github.com/jsocol/kitsune/commit/0d4c2ff36fb
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
1) https://support.allizom.org/fr/forums/contributors/
2) log in> post new thread
3) add title, content> click Apercu

expected: preview
actual: error
traceback: UndefinedError: 'forums.models.Post object' has no attribute 'author_post_count'
page error: Une erreur s'est produite.

Oh non ! Il semblerait qu'une erreur inattendue se soit produite. Les administrateurs ont déjà été prévenus. Veuillez réessayer immédiatement, ou dans quelques minutes.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 4

7 years ago
Forgot to fix previews on new threads.

master: https://github.com/jsocol/kitsune/commit/e35bd18ea0
next: https://github.com/jsocol/kitsune/commit/5c6685f9
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → FIXED
Verified able to successfully preview new threads & responses in non-US contributors forums
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.