View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011662 | mantisbt | time tracking | public | 2010-03-16 04:55 | 2014-09-23 18:05 |
Reporter | jl88 | Assigned To | dregad | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.8 | ||||
Target Version | 1.2.9 | Fixed in Version | 1.2.9 | ||
Summary | 0011662: Decimal cost causes error in time tracking/billing | ||||
Description | When i try to do Billing with Costs 137.50 per Hour i get this Error: APPLICATION ERROR #203 A number was expected for bugnote_cost. If i try the german Syntax "137,50" the same error appears. | ||||
Tags | No tags attached. | ||||
This is due to the use of gpc_get_int() to retrieve the cost from the form in billing_inc.php. The function, as the name indicates, only handles integer values. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master-1.2.x 3ddbbe19 2011-09-19 05:02 Details Diff |
Fix 0011662: Allow decimal costs in time tracking/billing Previously the cost was retrieved from the form using gpc_get_int(), and error 203 was triggered when decimal values were entered. We now get the field as a string and convert it using floatval(). |
Affected Issues 0011662 |
|
mod - billing_inc.php | Diff File | ||
MantisBT: master b5a3b8c8 2011-09-19 06:27 Details Diff |
Fix 0011662: Allow decimal costs in time tracking/billing Previously the cost was retrieved from the form using gpc_get_int(), and error 203 was triggered when decimal values were entered. We now get the field as a string and convert it using floatval(). |
Affected Issues 0011662 |
|
mod - billing_inc.php | Diff File |