https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-10-05T09:58:20ZRedmineRedmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=523242013-10-05T09:58:20ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/12656">Feature #12656</a>: make commit keywords and issue ratio configurable for each tracker</i> added</li></ul> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=524652013-10-13T07:36:12ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/4911">Feature #4911</a>: Multiple issue update rules with different keywords in commit messages</i> added</li></ul> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=524672013-10-13T07:40:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Target version</strong> set to <i>2.4.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Feature added in <a class="changeset" title="Ability to define commit keywords per tracker (#7590)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12208">r12208</a>.</p> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=524942013-10-13T09:17:17ZIvan Cenov
<ul></ul><p>Tested <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12215/entry/trunk">source:/trunk@12215</a> without any plugins. Configuration: thin, Ruby 1.9.3, Windows 7. Executed 'rake db:migrate RAILS_ENV=production' (I saw no migration output in console though). Here is what received at /path/to/redmine/settings:<br /><pre>
Started GET "/settings" for 192.168.142.1 at 2013-10-13 12:09:16 +0300
Processing by SettingsController#index as HTML
Current user: imc (id=3)
Rendered settings/_general.html.erb (19.0ms)
Rendered settings/_display.html.erb (77.0ms)
Rendered settings/_authentication.html.erb (8.5ms)
Rendered settings/_projects.html.erb (12.5ms)
Rendered queries/_columns.html.erb (5.5ms)
Rendered settings/_issues.html.erb (63.0ms)
Rendered settings/_notifications.html.erb (12.0ms)
Rendered settings/_mail_handler.html.erb (7.5ms)
Rendered settings/_repositories.html.erb (94.5ms)
Rendered common/_tabs.html.erb (674.6ms)
Rendered settings/edit.html.erb within layouts/admin (724.6ms)
Completed 500 Internal Server Error in 791ms
ActionView::Template::Error (can't convert String into Integer):
90: <tbody>
91: <% @commit_update_keywords.each do |rule| %>
92: <tr class="commit-keywords">
93: <td><%= select_tag "settings[commit_update_keywords][if_tracker_id][]", options_for_select([[l(:label_all), ""]] + Tracker.sorted.all.map {|t| [t.name, t.id.to_s]}, rule['if_tracker_id']) %></td>
94: <td><%= text_field_tag "settings[commit_update_keywords][keywords][]", rule['keywords'], :size => 30 %></td>
95: <td><%= select_tag "settings[commit_update_keywords][status_id][]", options_for_select([["", 0]] + IssueStatus.sorted.all.collect{|status| [status.name, status.id.to_s]}, rule['status_id']) %></td>
96: <td><%= select_tag "settings[commit_update_keywords][done_ratio][]", options_for_select([["", ""]] + (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, rule['done_ratio']) %></td>
app/views/settings/_repositories.html.erb:93:in `[]'
app/views/settings/_repositories.html.erb:93:in `block (2 levels) in _app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/settings/_repositories.html.erb:91:in `each'
app/views/settings/_repositories.html.erb:91:in `block in _app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/settings/_repositories.html.erb:1:in `_app_views_settings__repositories_html_erb___1052737814_64408164'
app/views/common/_tabs.html.erb:24:in `block in _app_views_common__tabs_html_erb__333404635_65324712'
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23:in `_app_views_common__tabs_html_erb__333404635_65324712'
app/helpers/application_helper.rb:271:in `render_tabs'
app/views/settings/edit.html.erb:3:in `_app_views_settings_edit_html_erb__116827168_64513368'
app/controllers/settings_controller.rb:28:in `index'
</pre></p> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=524952013-10-13T10:03:46ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Ivan Cenov wrote:</p>
<blockquote>
<p>Tested <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12215/entry/trunk">source:/trunk@12215</a> without any plugins. Configuration: thin, Ruby 1.9.3, Windows 7. Executed 'rake db:migrate RAILS_ENV=production' (I saw no migration output in console though). Here is what received at /path/to/redmine/settings:<br />[...]</p>
</blockquote>
<p>This should be fixed in <a class="changeset" title="Fixed that non array commit_update_keywords raises an error (#7590)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12216">r12216</a>.</p> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=524982013-10-13T10:31:37ZIvan Cenov
<ul></ul><p>Yes, it works in <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12218/entry/trunk">source:/trunk@12218</a>.</p> Redmine - Feature #7590: Different commit Keywords for each trackerhttps://www.redmine.org/issues/7590?journal_id=525032013-10-13T12:39:03ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Thanks for your feedback Ivan.</p>