Modify

Opened 7 years ago

Closed 4 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: kevin@… 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 7 years ago by kckrinke

  • Cc kevin@… added

comment:2 Changed 4 years ago by rjollos

  • Owner changed from HorsePunchKid to rjollos

comment:3 Changed 4 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

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.