installing service_layout in an "old" Silva instance results in attribute error on public view
Bug #100926 reported by
Joachim Scmitz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Medium
|
Unassigned |
Bug Description
in "old" Silva instance created end of october I installed layout Infrae1.
Attached it to a publication and visited the public view, this results in:
KeyError: model
the reason is that the index.html script does not contain:
# use layout content if a layout has been setup
if renderer == content:
layout_folder = context.
if layout_folder:
index = getattr(
return index(model=
Best would be to insert it automagically, but at least a hint in the
documentation would be very helpfull.
To post a comment you must log in.
moving layout service stuff into the future; we'll hide it in 0.9.3.