操作
Defect #1302
未完了Redmine Hudson plugin depends on redmine default locale setting.
開始日:
2014/01/30
期日:
進捗率:
100%
予定工数:
説明
具体的な再現方法
What steps will reproduce the problem?¶
- Install redmine 2.4.2
- On a Redmine Settings page set russian language as Default language.
- Configure redmine project repository.
- Install and configure Redime Hudson plugin version 2.1.2
- Open issue that was recently fixed with appropriate issue reference code.
期待する結果と実際の結果
What is the expected output? What do you see instead?¶
On a issue page you can see information about related revisions.
But there is no information about related builds.
下記コマンドの実行結果を教えてください。
Please give us a result of following command.¶
% ruby script/about
sh: darcs: not found
sh: cvs: not found
sh: bzr: not found
sh: git: not found
Environment:
Redmine version 2.4.2.stable
Ruby version 2.1.0-p0 (2013-12-25) [i686-linux]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.12
Mercurial 1.7.5
Filesystem
Redmine plugins:
clipboard_image_paste 1.8
menu_link 1.0.0
redmine_code_review 0.6.3
redmine_contacts 3.2.13-light
redmine_create_wiki_page 0.1
redmine_free_mind 1.1.1
redmine_hudson 2.1.2
redmine_issue_checklist 2.0.5
redmine_issue_templates 0.0.5
redmine_issues_macros 0.0.1
redmine_knowledgebase 3.0.0
redmine_sidebar_toc 0.0.1
redmine_tags 2.1.0
redmine_wiki_toc 0.0.4
Please provide any additional information below.¶
There is language dependent code in plugin:
redmine_hudson/assets/javascripts/jquery.build_result_appender.js:
changeset_refs = jQuery("div#issue-changesets div.changeset:has(a[title^='Revision " + revision + "']) div.wiki");
In case of russian language title has another word (Редакция), so I was able to fix issue by changing code this way:
changeset_refs = jQuery("div#issue-changesets div.changeset:has(a[title~='" + revision + "']) div.wiki");
操作