プロジェクト

全般

プロフィール

Vote #70591

完了

Custom query not saving status filter

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

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2011/08/23
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
36
issue_org_id:
9108
author_id:
28747
assigned_to_id:
6508
comments:
14
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
35
ステータス-->[Closed]

説明

When creating a custom query, its default is to save the Status filter to "open", disregarding whether I disable it to get all statuses. In order to create this custom query properly, I have to save it, and after that change the status filter again.

To reproduce:

  1. Go to issues list and click "Save" to create a custom query.
  2. Uncheck the "Status" filter, so it would show all statuses, and save the query.
  3. Note that the query is STILL showing only issues with status "Open".
  4. Edit the custom query and uncheck the "Status" filter again.
  5. Note that the query is now showing all issues correctly, with no status filter.

I think that the expected behavior would save the unchecked "Status" filter on the first try.

My version is 1.1.1, but this also happened on the online demo.


journals

Indeed, in the New query screen, RM lists the Status field even if this one was unchecked.

Even if you can uncheck it again from this screen before you save the query, this does not happen to other fields, hence the bug.

Kind of same issue as #8411, I guess.
--------------------------------------------------------------------------------
Should be fixed with r7649 which is too big to be included in a minor release.
--------------------------------------------------------------------------------
Ok, there is a big bug now with handling project, will fix it tonight.
--------------------------------------------------------------------------------
Should be clean now with r7657.
--------------------------------------------------------------------------------
Etienne Massip wrote:
> Should be clean now with r7657.

Confirmed!
--------------------------------------------------------------------------------
Mischa The Evil wrote:
> Confirmed!

Thanks. So glad to see you here again, Mischa =)

--------------------------------------------------------------------------------
Something must have gone wrong: message#27227.
--------------------------------------------------------------------------------
Etienne Massip wrote:
> Something must have gone wrong: message#27227.

Finally, seems to be only plugin issues.
--------------------------------------------------------------------------------
There might be some remaining Queries permissions work to go in source:/trunk/lib/redmine.rb@7819#L81.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Still not fixed according to #9738.
--------------------------------------------------------------------------------
Not related to #9738 and it can not be reproduced.
--------------------------------------------------------------------------------
#9738 has appeared after the query refactoring committed for this issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,9738,Setting of cross-project custom query is not remembered inside project
relates,Closed,28264,Global and public custom queries are shown as editable to non administrators in projects

Admin Redmine さんがほぼ4年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン1.3.0_36 にセット

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

いいね!0
いいね!0