Modify

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#8526 closed defect (fixed)

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

Reported by: netjunki Owned by: rjollos
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 netjunki 3 years ago.
LastModifiedMacro noargs patch for 0.11.7

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by netjunki

LastModifiedMacro noargs patch for 0.11.7

comment:1 Changed 3 years ago by netjunki

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

comment:2 Changed 3 years ago by rjollos

  • Priority changed from normal to high
  • Status changed from new to assigned

comment:3 Changed 2 years ago by rjollos

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

[11264] should have referenced this ticket.

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be '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.