Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014450
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-09-06 18:422010-09-15 00:00
ReportermiruritaView Statuspublic 
Assigned Todbaz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision91649d295b9a
ProjectionnoneETAnoneTarget Version2.50MP22
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014450: formattedNumberOp function in Utils.js doesn't work with negative amounts

DescriptionformattedNumberOp function in Utils.js does not work with negative amounts.

Steps To ReproduceTry to call with:

formattedNumberOp('12', '-', '-10', ...)
Proposed Solutionuse parethesis

result = eval('('+number1+')' + operator + '('+number2+')');
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0030661)
hgbot (developer)
2010-09-06 18:44

Repository: erp/devel/pi
Changeset: 91649d295b9ae3b7e02bdeebde61e56fce7d9dc1
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Sep 06 18:43:58 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/91649d295b9ae3b7e02bdeebde61e56fce7d9dc1 [^]

Fixed issue 14450: Now formattedNumberOp works properly with negative amounts

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0030723)
hudsonbot (developer)
2010-09-07 09:18

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/91649d295b9a [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0031065)
mirurita (developer)
2010-09-14 19:17

verified, it's working.

- Issue History
Date Modified Username Field Change
2010-09-06 18:42 mirurita New Issue
2010-09-06 18:42 mirurita Assigned To => dbaz
2010-09-06 18:44 hgbot Checkin
2010-09-06 18:44 hgbot Note Added: 0030661
2010-09-06 18:44 hgbot Status new => resolved
2010-09-06 18:44 hgbot Resolution open => fixed
2010-09-06 18:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/91649d295b9ae3b7e02bdeebde61e56fce7d9dc1 [^]
2010-09-07 09:18 hudsonbot Checkin
2010-09-07 09:18 hudsonbot Note Added: 0030723
2010-09-14 19:17 mirurita Note Added: 0031065
2010-09-14 19:17 mirurita Status resolved => closed
2010-09-15 00:00 anonymous sf_bug_id 0 => 3066290


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker