プロジェクト

全般

プロフィール

Vote #79536

未完了

Issue filter broken for custom fields that are 'remote'

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Issues filter_56
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
56
version_id:
0
issue_org_id:
29643
author_id:
115781
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
134
ステータス-->[New]

説明

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.

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0