https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-03-06T17:29:49ZRedmineRedmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=149452010-03-06T17:29:49ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> changed from <i>Issues</i> to <i>UI</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=163462010-05-01T17:58:44ZAlain Alain091
<ul><li><strong>File</strong> <a href="/attachments/3662">issues_controller.rb.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3662/issues_controller.rb.patch">issues_controller.rb.patch</a> added</li></ul><p>find attached a patch which take into account rights of each project for evaluate the access to actions in menus.</p>
<p>The rule is an AND operation between the rights in each project. If one is false, the entire action is set to false.</p> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=163482010-05-02T08:44:50ZAlain Alain091
<ul><li><strong>File</strong> <a href="/attachments/3663">issues_controller.rb.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3663/issues_controller.rb.patch">issues_controller.rb.patch</a> added</li></ul><p>I was impatient to post my modifications</p>
<p>But, if the idea of correction was correct my code contained errors</p>
<p>Here a better patch.</p> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=163872010-05-03T16:35:50ZAlain Alain091
<ul></ul><p>I think that the correct statment is :</p>
<p>edit = edit && expression</p>
<p>and not edit &= expression</p> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=192182010-08-11T06:11:06ZJean-Baptiste Barth
<ul></ul><p>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.</p> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=199752010-09-03T21:44:09ZJean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Jean-Baptiste Barth</i></li><li><strong>Target version</strong> set to <i>1.0.2</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Alain: your patch is a first step to handle cross-projects issues in context menu, which is a much larger issue (see <a class="issue tracker-2 status-5 priority-3 priority-lowest closed" title="Feature: Allow bulk edit of issues from different projects (Closed)" href="https://www.redmine.org/issues/5332">#5332</a>).</p>
<p>I prefer just hiding those items for the moment, which solves the exact issue Eric reported. It's committed in <a class="changeset" title="Do not display items without valid selection in context menu when on different projects. #4998" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4059">r4059</a>. We may work on bulk edit later, in <a class="issue tracker-2 status-5 priority-3 priority-lowest closed" title="Feature: Allow bulk edit of issues from different projects (Closed)" href="https://www.redmine.org/issues/5332">#5332</a>.</p> Redmine - Defect #4998: Global issue list's context menu has enabled options for parent menus but there are no valid selectionshttps://www.redmine.org/issues/4998?journal_id=205162010-09-20T03:51:56ZEric Davis
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>Merged into 1.0-stable for release in 1.0.2</p>