Modify ↓
Opened 17 years ago
Closed 14 years ago
#1647 closed defect (fixed)
Bug when site uses split_page_names
Reported by: | Kevin C. Krinke | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | LastModifiedMacro |
Severity: | normal | Keywords: | |
Cc: | Kevin C. Krinke | Trac Release: | 0.10 |
Description
When the trac.ini has split_page_names set, the hdf.getValue( "title", "" ) call returns the spaced-out variation of the title. This produces the funky error: "unsubscriptable object" because the spaced-out title is not present in the database of course.
Easy fix is to change the two hdf.getValue( "title", "" ) calls to hdf.getValue( "page_name", "" ) on lines 34 and 41.
Attachments (0)
Change History (3)
comment:1 Changed 17 years ago by
Cc: | Kevin C. Krinke added; anonymous removed |
---|
comment:2 Changed 14 years ago by
Owner: | changed from HorsePunchKid to Ryan J Ollos |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Closing as this should be fixed in 0.11 and 0.10 is no longer supported.