Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 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 6 years ago.
LastModifiedMacro noargs patch for 0.11.7

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Benjamin Lau

Attachment: LastModified.noargs.patch added

LastModifiedMacro noargs patch for 0.11.7

comment:1 Changed 6 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 6 years ago by Ryan J Ollos

Priority: normalhigh
Status: newassigned

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.