View Issue Details

IDProjectCategoryView StatusLast Update
0011662mantisbttime trackingpublic2014-09-23 18:05
Reporterjl88 Assigned Todregad  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.8 
Target Version1.2.9Fixed in Version1.2.9 
Summary0011662: 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.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
has duplicate 0012455 closeddregad Error page not correctly sending header html 

Activities

dregad

dregad

2011-09-17 17:37

developer   ~0029785

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.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036321

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x 3ddbbe19

2011-09-19 05:02

dregad


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

dregad


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