Closed Bug 1136599 Opened 9 years ago Closed 9 years ago

KB article is empty when you open it for the second time

Categories

(support.mozilla.org :: Knowledge Base Software, task)

ARM
Gonk (Firefox OS)
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2015Q1

People

(Reporter: christos, Assigned: mythmon)

References

Details

(Whiteboard: u=api c=wiki p=1 s=2015.4)

Flame, Firefox OS 2.0

STR:
1. As a helpee start typing: "where can i"
2. Select the article "Where can I go for help"
3. Go back
4. Select the same article again "Where can I go for help"
5. The article is empty
6. This happens with all articles that you try to open for more than one times
So on our testing, this is not 100% reproducible.
Whiteboard: [blocker]
Whiteboard: [blocker] → p=1 [blocker]
Target Milestone: --- → 2015Q1
I'm seeing this in the error console:
Load denied by X-Frame-Options: https://support.allizom.org/fr/kb/comment-passer-appel?mobile=1&minimal=1 does not permit framing.

This indicates that is a server side bug.
Component: BuddyUp → Knowledge Base Software
Whiteboard: p=1 [blocker] → u=api c=wiki p=1 s=2015.4
Assignee: nobody → mcooper
Depends on: 1141868
I've found something that fits all the symptoms here. In bug 997781 we added caching to the document view, but we did not cache any headers (like X-Frame-Options). Additionally, we did not take the minimal view in to account when caching things. This might have lead to some strange page views for some people on stage, though it is unlikely.

I've filed a PR to cache headers properly, and also to cache minimal views separate from the primary view. https://github.com/mythmon/kitsune/commit/1306a42aa0b41e9e4ad8fd733408696d213ac814
Status: NEW → ASSIGNED
Merged: https://github.com/mozilla/kitsune/commit/d4bb9f04bafef3ea0d0c7d69a3cb053547f3987a

I've deployed this to stage, so the problem should be resolved.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.