Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13192


Ignore:
Timestamp:
Aug 14, 2019, 1:22:19 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

Proposed change:

  • trac/ticket/query.py

    diff --git a/trac/ticket/query.py b/trac/ticket/query.py
    index 1f3883b78..274d0706d 100644
    a b class QueryModule(Component):  
    10941094            if add_num is not None:
    10951095                field = req.args.get('add_filter_' + add_num,
    10961096                                     req.args.get('add_clause_' + add_num))
    1097                 if field:
     1097                if field and field in fields:
    10981098                    clause = constraints.setdefault(int(add_num), {})
    10991099                    modes = Query.get_modes().get(fields[field]['type'])
    11001100                    mode = modes[0]['value'] if modes else ''

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13192 – Description

    initial v1  
     1Found in log files:
     2
    13{{{
    242019-08-13 03:56:35,690 Trac[main] ERROR: [23.94.17.122] Internal Server Error: <RequestWithSession "POST '/query'">, referrer 'https://bugs.jqueryui.com/'