Unsaved TOC error with KeyError 'toc_depth' when XSLT rendering
Bug #101413 reported by
Clemens Robbenhaar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva Document |
Fix Released
|
Medium
|
Andy Altepeter |
Bug Description
With the current CVS Head try the following steps:
- create a new Document
- edit it with the forms based editor
- create a "table of contents"
- do not choose "save" or "save and exit",
switch directly to the preview tab
If I do that I get "KeyError" with the XSLT renderer,
no problem with the widget based one.
Not a very common scenario, I guess ;)
The workaround is to save the TOC first after creating it.
Changed in silvadocument: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Verify this in Silva trunk.