Opened 10 years ago

Closed 6 years ago

#1647 closed defect (fixed)

Bug when site uses split_page_names

Reported by: kckrinke Owned by: rjollos
Priority: normal Component: LastModifiedMacro
Severity: normal Keywords:
Cc: kckrinke Trac Release: 0.10


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 kckrinke

  • Cc kckrinke added; anonymous removed

comment:2 Changed 6 years ago by rjollos

  • Owner changed from HorsePunchKid to rjollos

comment:3 Changed 6 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.