Project

General

Profile

Actions

Defect #11922

closed

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

Added by Miko Kinski over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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


Files

delocal.patch (375 Bytes) delocal.patch Miko Kinski, 2012-09-24 20:55
Actions #1

Updated by Toshi MARUYAMA over 11 years ago

  • Category set to I18n
Actions #2

Updated by Etienne Massip over 11 years ago

When do you get the error exactly?

Actions #3

Updated by Miko Kinski over 11 years ago

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

Actions #4

Updated by Toshi MARUYAMA over 11 years ago

  • Tracker changed from Patch to Defect
  • Subject changed from de.yml leads to error by number_to_currency() to bs and de lead to error by number_to_currency()
  • Status changed from New to Confirmed
  • Target version set to 2.1.1
  • Affected version (unused) set to 2.0.0
  • Affected version set to 2.0.0
Actions #5

Updated by Toshi MARUYAMA over 11 years ago

  • Subject changed from bs and de lead to error by number_to_currency() to bs.yml and de.yml lead to error by number_to_currency()
Actions #6

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed
Actions

Also available in: Atom PDF