Defect #11922
closed
bs.yml and de.yml lead to error by number_to_currency()
Added by Miko Kinski about 12 years ago.
Updated about 12 years ago.
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
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
- 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
- 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()
- Status changed from Confirmed to Closed
- Resolution set to Fixed
Also available in: Atom
PDF