プロジェクト

全般

プロフィール

Vote #72544

完了

bs.yml and de.yml lead to error by number_to_currency()

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
37
version_id:
57
issue_org_id:
11922
author_id:
60866
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
43
ステータス-->[Closed]

説明

default settings in format are overwritten by empty separator, delimiter, precision in currency block which leads to following error

ActionView::Template::Error (wrong argument type nil (expected Fixnum)):

actionpack (3.2.6)

I do not know how to fix this while not changing the de.yml local of redmine


journals

--------------------------------------------------------------------------------
When do you get the error exactly?
--------------------------------------------------------------------------------
see https://github.com/mkinski/redmine_inventory_manager

If I have some price value like 0.2 in Dollar (English) and Euro (Spain) it works perfect but If I switch to german language it leads to internal error because of number_to_currency function

I am using redmine v2.0.4
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0