Modify ↓
Opened 9 years ago
Closed 9 years ago
#12197 closed defect (fixed)
TicketQuery macro with no arguments results in traceback in logs
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
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | t12197.diff added |
---|
comment:1 by , 9 years ago
Release Notes: | modified (diff) |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The proposed change makes
[[TicketQuery]]
behave the same as[[TicketQuery()]]
: attachment:t12197.diff.