TypeError when using [[Include:]] when an article has no current revision

VERIFIED FIXED in 2.3

Status

support.mozilla.org
Knowledge Base Software
P2
normal
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: jsocol, Assigned: jsocol)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

8 years ago
If you try to [[Include:]] an article that has no current revision, we get a stack trace because the include hook returns None.

Easy fix. It will be like unto [[Template:]]. (I think there was a bug for Template but I can't find it. See that one, if you remember it.)
(Assignee)

Comment 1

8 years ago
master: https://github.com/jsocol/kitsune/commit/775fb89
2.3.x: https://github.com/jsocol/kitsune/commit/129e59e
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified no stack trace occurred when including an article with no approved content
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.