プロジェクト

全般

プロフィール

Vote #68508

完了

Redmine not working with i18n gem 0.4.2

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
開始日:
2010/11/01
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
26
issue_org_id:
6784
author_id:
22902
assigned_to_id:
3866
comments:
10
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
25
ステータス-->[Closed]

説明

See this forum post for details:
http://www.redmine.org/boards/1/topics/18793


journals

--------------------------------------------------------------------------------
If you revert the workaround for i18n 0.4.1 in r4183, everything works fine again with 0.4.2.
--------------------------------------------------------------------------------
The "fixing" commit is probably "this one":http://github.com/svenfuchs/i18n/commit/20bf4fd51e6d2efb7a9082358881f626a283c763. Sadly, I found no immediate solution for supporting both versions. Maybe we need to build a custom switch or patch for 0.4.1...
--------------------------------------------------------------------------------
Maybe just place 'if gem version < xxx' code so both 'fixing' commit and a normal code will work according to i18n gem version? Unfortunately, i'm not very good at ruby world and don't know how it's supposed to fight dll hell here :).
--------------------------------------------------------------------------------
This https://github.com/thegcat/redmine/commit/00ef3004120035095c9cd11aba65ebd648160fe6 should make i18n 0.4.{1,2} happy with the patch.
--------------------------------------------------------------------------------
I can confirm that the patch by Felix works with i18n 0.4.(1|2), 0.3.7 and no i18n gem at all.

@Eric, could you please commit this one soon? We get many requests by people falling over i18n 0.4.2 currently.
@Felix, thanks for providing the solution.
--------------------------------------------------------------------------------
I had the same problem this morning and Felix's patch worked beautifully. This should probably be pushed sooner rather than later to avoid a landslide of issue reports ...
--------------------------------------------------------------------------------
Fixed in r4389 using a slightly different patch to avoid another failure next time they change the method signature.
--------------------------------------------------------------------------------
Merged in stable branch.
--------------------------------------------------------------------------------


related_issues

duplicates,Closed,6810,Problem to access Users page
duplicates,Closed,6789,HTTP/500 when accessing home page OR

Admin Redmine さんがほぼ2年前に更新

  • カテゴリI18n_37 にセット
  • 対象バージョン1.0.4_26 にセット

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

いいね!0
いいね!0