Modify

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#8526 closed defect (fixed)

[PATCH] Error: Macro LastModified(None) failed 'NoneType' object has no attribute 'split'

Reported by: Benjamin Lau Owned by: Ryan J Ollos
Priority: high Component: LastModifiedMacro
Severity: normal Keywords: patch
Cc: Trac Release: 0.11

Description

With Trac 0.11.7 I was getting the following error when using the LastModified macro without arguments.

Error: Macro LastModified(None) failed

'NoneType' object has no attribute 'split'

I produced a patch to correct this which is attached.

Attachments (1)

LastModified.noargs.patch (715 bytes) - added by Benjamin Lau 13 years ago.
LastModifiedMacro noargs patch for 0.11.7

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Benjamin Lau

Attachment: LastModified.noargs.patch added

LastModifiedMacro noargs patch for 0.11.7

comment:1 Changed 13 years ago by Benjamin Lau

Summary: Error: Macro LastModified(None) failed 'NoneType' object has no attribute 'split'[PATCH] Error: Macro LastModified(None) failed 'NoneType' object has no attribute 'split'

comment:2 Changed 13 years ago by Ryan J Ollos

Priority: normalhigh
Status: newassigned

comment:3 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

[11264] should have referenced this ticket.

  • Fixed display of macro revision on admin plugin panel.
  • Fixed parsing of input arguments.
  • Organized imports.

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.