view_ui fails to display line numbers when syntax highlighting is not available
Bug #1955738 reported by
Aleksandr Smyshliaev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Triaged
|
Low
|
Unassigned |
Bug Description
When the highlight module cannot be imported, ViewUI.text_lines returns a map object instead of a list of lines.
Then the expression "line python:range(1, len(contents) + 1)" in the view template cannot be evaluated because object of type 'map' has no len().
Changed in loggerhead: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.