Content
View differences
Updated by Robin Wagner about 6 years ago
### **Environment**:
OpenProject 10.5.1
Chrome
### **Logs**
```text
The error log shows this:
May 7 22:10:18 openproject openproject-web-1.service[30652]: I, [2020-05-07T22:10:18.747351 #30757] INFO -- : method=GET path=/cost_types format=html controller=CostTypesController action=index status=200 duration=106.56 view=90.58 db=9.41 user=4
May 7 22:10:24 openproject openproject-web-1.service[30652]: E, [2020-05-07T22:10:24.835784 #30757] ERROR -- : [current_user=Tyler Hardison] undefined method `parse_number_string_to_number' for #<CostTypesController:0x000055740ed18e18>: undefined method `parse_number_string_to_number' for #<CostTypesController:0x000055740ed18e18>
May 7 22:10:24 openproject openproject-web-1.service[30652]: I, [2020-05-07T22:10:24.853818 #30757] INFO -- : method=PUT path=/cost_types/1/set_rate format=html controller=CostTypesController action=set_rate status=500 duration=1848.52 view=15.65 db=5.34 user=4
```
### **Steps to reproduce:**
1. Go to administration > Budgets > Cost types.
2. Set an entry for "Cost rate".
3. Save.
### **Actual Behavior**
Timeout / error 500:


### **Expected Behavior**
Cost rate adjusted properly
OpenProject 10.5.1
Chrome
### **Logs**
```text
The error log shows this:
May 7 22:10:18 openproject openproject-web-1.service[30652]: I, [2020-05-07T22:10:18.747351 #30757] INFO -- : method=GET path=/cost_types format=html controller=CostTypesController action=index status=200 duration=106.56 view=90.58 db=9.41 user=4
May 7 22:10:24 openproject openproject-web-1.service[30652]: E, [2020-05-07T22:10:24.835784 #30757] ERROR -- : [current_user=Tyler Hardison] undefined method `parse_number_string_to_number' for #<CostTypesController:0x000055740ed18e18>: undefined method `parse_number_string_to_number' for #<CostTypesController:0x000055740ed18e18>
May 7 22:10:24 openproject openproject-web-1.service[30652]: I, [2020-05-07T22:10:24.853818 #30757] INFO -- : method=PUT path=/cost_types/1/set_rate format=html controller=CostTypesController action=set_rate status=500 duration=1848.52 view=15.65 db=5.34 user=4
```
### **Steps to reproduce:**
1. Go to administration > Budgets > Cost types.
2. Set an entry for "Cost rate".
3. Save.
### **Actual Behavior**
Timeout / error 500:


### **Expected Behavior**
Cost rate adjusted properly