Project

General

Profile

Actions

Defect #29643

open

Issue filter broken for custom fields that are 'remote'

Added by Sebastian Paluch about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues filter
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The issue filtering is broken for all plugins that provides a custom queries implementation.

Example... when a plugin creates new tab with customized issue filtering, it may implement new query class that inherits from IssueQuery.

Unfortunately, the changes made for task #24787 in r16170 breaks this.

This is because the queries_controller in the def filter is using get_subclass to figure out the actual query requesting values for the filter. The get_subclass is called on Query class and it uses subclasses to check if requested class is a Query. Unfortunately subclasses return only direct subclasses.

This way, it is not possible now do customize any existing query class and all plugins that do so stopped working.

No data to display

Actions

Also available in: Atom PDF