Project

General

Profile

Defect #1302

Redmine Hudson plugin depends on redmine default locale setting.

Added by Ivan Samygin over 5 years ago. Updated over 5 years ago.

Status:
解決(Resolved)
Priority:
通常(Normal)
Assignee:
-
Target version:
Start date:
01/30/2014
Due date:
% Done:

100%

Estimated time:

Description

具体的な再現方法
What steps will reproduce the problem?

  1. Install redmine 2.4.2
  2. On a Redmine Settings page set russian language as Default language.
  3. Configure redmine project repository.
  4. Install and configure Redime Hudson plugin version 2.1.2
  5. 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");

History

#1

Updated by Toshiyuki Ando over 5 years ago

  • Project changed from r-labs to Hudson
  • Category deleted (Hudson Plugin)

Thanks for your report.

#2

Updated by Toshiyuki Ando over 5 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 commit:6e58deac6958 で適用されました。

#3

Updated by Toshiyuki Ando over 5 years ago

  • Target version changed from backlog to 2.1.3

Also available in: Atom PDF