Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#13276 closed defect (fixed)

Filtering not working with 'Milestone' field

Reported by: ntmlod Owned by: Ryan J Ollos
Priority: normal Component: HideValsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0


I succeed to set filters on 'priority', 'version' and 'type' but the settings implemented on 'Milestone' hidevals admin page don't have any effect.

On the log, I have a minor error but I don't think it is related to my problem:

2017-10-01 02:13:47,289 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/web/", line 497, in _dispatch_request
  File "/usr/lib/python2.7/site-packages/trac/web/", line 236, in dispatch
  File "/usr/lib/python2.7/site-packages/trac/web/", line 340, in _post_process_request
    f.post_process_request(req, *(None,)*extra_arg_count)
  File "build/bdist.linux-x86_64/egg/hidevals/", line 41, in post_process_request
    fields = data['fields']
TypeError: 'NoneType' object has no attribute '__getitem__'

Attachments (0)

Change History (8)

comment:1 Changed 9 months ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:2 Changed 9 months ago by Ryan J Ollos

In 16837:

TracHideVals 1.2: Fix traceback during error handling

Refs #13276.

comment:3 Changed 9 months ago by Ryan J Ollos

In 16838:

TracHideVals 1.2: Filter fields with optgroups

Refs #13276.

comment:4 Changed 9 months ago by Ryan J Ollos

Could you please test r16838 and report back?

comment:5 Changed 9 months ago by ntmlod

Gosh you are too fast for me, I had identified the issue with 'options' in 'milestone' in the sub optgroups and just started to think how to handle this.

I confirm the fix, thanks.

comment:6 Changed 9 months ago by ntmlod

Resolution: fixed
Status: acceptedclosed

comment:7 Changed 9 months ago by Ryan J Ollos

Thanks for confirming. Publish version 1.2.1 to pypi:TracHideVals.

comment:8 Changed 9 months ago by Ryan J Ollos

Plugin compatible with Trac 1.2 added in #13277.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.