Entering a single item via the Outline dropdown produces a single Resource in the TOC marked Outline. If you click on this item you get taken to the Edit page (fine), but clicking on Preview from here returns a server error.
TypeError: 'ContentNode' object is not subscriptable
File "django/template/base.py", line 829, in _resolve_lookup
current = current[bit]
KeyError: 'Outline'
(34 additional frame(s) were not displayed)
...
File "django/template/loader_tags.py", line 168, in render
template = self.template.resolve(context)
File "django/template/base.py", line 671, in resolve
obj = self.var.resolve(context)
File "django/template/base.py", line 796, in resolve
value = self._resolve_lookup(context)
File "django/template/base.py", line 837, in _resolve_lookup
current = getattr(current, bit)
File "main/models.py", line 2208, in body_template
return {
Entering a single item via the Outline dropdown produces a single Resource in the TOC marked Outline. If you click on this item you get taken to the Edit page (fine), but clicking on Preview from here returns a server error.
Sentry Issue: H2O-AR