#71 — Topics template break on click-through
by
Malthe Borch
—
last modified
Jan 08, 2009 04:29 PM
| State | Resolved |
|---|---|
| Version: | 0.9 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Malthe Borch |
| Submitted on | Nov 01, 2006 |
| Responsible |
—
|
| Target release: |
—
|
An error is thrown when you try to click-through to later pages in weblogtopic_view.pt:
Error Type
AttributeError
Error Value
'NoneType' object has no attribute 'title_or_id'
This happens with svn0.9.
More specifically, the expression
python:parent.getTopicById(topic)
returns None.
- Steps to reproduce:
- In a topics listing (weblogtopic_view) with more than [entriesPerPage] items, click on to the next.
Added by
Russell Sim
on
Feb 23, 2007 03:14 AM
Hi i just checked in what i believe will fix your problem. There was no handling of None when it is returned by getTopicById in the weblog_macro.pt which is called by the weblogtopic_view.pt
I just recently had the same problem because i renamed one of my topics.
Added by
Tom Lazar
on
Sep 17, 2007 04:09 PM
closing this as fixed, as i can't reproduce it.
Issue state:
unconfirmed
→
resolved
No responses can be added.
If you can, please log in before submitting a reaction.
