Modify

Opened 10 years ago

Closed 7 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 10 years ago by Kevin C. Krinke

Cc: Kevin C. Krinke added; anonymous removed

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from HorsePunchKid to Ryan J Ollos

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Closing as this should be fixed in 0.11 and 0.10 is no longer supported.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.