Edgewall Software

Opened 9 years ago

Last modified 9 years ago

#12197 closed defect

TicketQuery macro with no arguments results in traceback in logs — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.9
Component: query system Version:
Severity: normal Keywords: ticketquery
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

2015-09-03 00:19:46,692 Trac[formatter] ERROR: Macro TicketQuery(None) failed:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 789, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 358, in process
    text = self.processor(text)
  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 345, in _macro_processor
    text)
  File "build/bdist.linux-i686/egg/trac/ticket/query.py", line 1370, in expand_macro
    query_string, kwargs, format = self.parse_args(content)
  File "build/bdist.linux-i686/egg/trac/ticket/query.py", line 1333, in parse_args
    for arg in TicketQueryMacro._comma_splitter.split(content):
TypeError: expected string or buffer

Change History (1)

by Ryan J Ollos, 9 years ago

Attachment: t12197.diff added
Note: See TracTickets for help on using tickets.