プロジェクト

全般

プロフィール

Defect #1302

未完了

Redmine Hudson plugin depends on redmine default locale setting.

Ivan Samygin さんが約10年前に追加. 約10年前に更新.

ステータス:
解決(Resolved)
優先度:
通常(Normal)
担当者:
-
対象バージョン:
開始日:
2014/01/30
期日:
進捗率:

100%

予定工数:

説明

具体的な再現方法
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");

Toshiyuki Ando さんが約10年前に更新

  • プロジェクトr-labs から Hudson に変更
  • カテゴリ を削除 (Hudson Plugin)

Thanks for your report.

Toshiyuki Ando さんが約10年前に更新

  • ステータス新規(New) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

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

Toshiyuki Ando さんが約10年前に更新

  • 対象バージョンbacklog から 2.1.3 に変更

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