Ticket #8526 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

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

Reported by: netjunki Assigned to: 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

LastModified.noargs.patch (0.7 kB) - added by netjunki on 02/21/11 20:53:54.
LastModifiedMacro noargs patch for 0.11.7

Change History

02/21/11 20:53:54 changed by netjunki

  • attachment LastModified.noargs.patch added.

LastModifiedMacro noargs patch for 0.11.7

02/21/11 21:04:53 changed 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'.

03/01/11 21:18:08 changed by rjollos

  • status changed from new to assigned.
  • priority changed from normal to high.

02/09/12 06:37:08 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

[11264] should have referenced this ticket.

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

Add/Change #8526 ([PATCH] Error: Macro LastModified(None) failed 'NoneType' object has no attribute 'split')




Change Properties
Action