プロジェクト

全般

プロフィール

Vote #66753

完了

Global issue list's context menu has enabled options for parent menus but there are no valid selections

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

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2010/03/05
期日:
進捗率:

100%

予定工数:
category_id:
10
version_id:
24
issue_org_id:
4998
author_id:
5
assigned_to_id:
1188
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

A client brought this bug to my attention. On the global issues list:

  • Select two issues on different projects
  • Right click to trigger the context menu
  • Some options with a submenu are enabled but the selections are not (Priority, % Done). e.g. It shows you can change Priority but doesn't present any values you can select.

journals

--------------------------------------------------------------------------------
find attached a patch which take into account rights of each project for evaluate the access to actions in menus.

The rule is an AND operation between the rights in each project. If one is false, the entire action is set to false.

--------------------------------------------------------------------------------
I was impatient to post my modifications

But, if the idea of correction was correct my code contained errors

Here a better patch.

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

I think that the correct statment is :

edit = edit && expression

and not edit &= expression
--------------------------------------------------------------------------------
Same here at work on 1.0.0(RC), it's really annoying and should be fixed for 1.0.1 in my opinion. Alain: I'll take a look at your patch.
--------------------------------------------------------------------------------
Alain: your patch is a first step to handle cross-projects issues in context menu, which is a much larger issue (see #5332).

I prefer just hiding those items for the moment, which solves the exact issue Eric reported. It's committed in r4059. We may work on bulk edit later, in #5332.
--------------------------------------------------------------------------------
Merged into 1.0-stable for release in 1.0.2
--------------------------------------------------------------------------------

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

  • カテゴリUI_10 にセット
  • 対象バージョン1.0.2_24 にセット

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

いいね!0
いいね!0