In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
844 [In-Portal CMS] Admin Interfaces bug report always 2010-08-31 09:49 2011-03-30 09:53
alex  
alex  
normal  
closed 5.1.0  
fixed  
 
none 5.1.2-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f83cac275f250b2f
0
0000844: Large numbers (over 1 million) are not properly parsed in javascript
In-Portal has javascript class called NumberFormatter, that allows to format/parse any number to have decimal and thousands separator in proper places, e.g. "54434343.22" will be "54,434,343.22" in formatted case. Method Format is responsible for that.

Method Parse fails to parse string from example above resulting only first comma to be replaced and not all of them.
patch js_number_parsing_fails_on_large_numbers.patch (621) 2010-08-31 09:49
http://tracker.in-portal.org/file_download.php?file_id=741&type=bug
Issue History
2011-03-30 09:53 Dmitry Note Added: 0003341
2011-03-30 09:53 Dmitry Status resolved => closed
2011-01-09 13:43 alex Note Added: 0003191
2011-01-09 13:43 alex Status reviewed and tested => resolved
2011-01-09 13:43 alex Fixed in Version => 5.1.2-B1
2011-01-09 13:43 alex Resolution open => fixed
2011-01-09 13:43 alex Assigned To !COMMUNITY => alex
2011-01-09 13:43 alex Changeset attached 5.1.x r14147
2010-09-28 14:06 Dmitry Fixed in Version 5.1.2 =>
2010-09-28 14:06 Dmitry Target Version Icebox => 5.1.2
2010-09-28 12:14 Dmitry Fixed in Version => 5.1.2
2010-09-06 17:04 Dmitry Note Added: 0002784
2010-09-06 17:04 Dmitry Status needs testing => reviewed and tested
2010-08-31 09:50 alex Assigned To => !COMMUNITY
2010-08-31 09:50 alex Developer => alex
2010-08-31 09:50 alex Status active => needs testing
2010-08-31 09:50 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/f83cac275f250b2f
2010-08-31 09:49 alex New Issue
2010-08-31 09:49 alex File Added: js_number_parsing_fails_on_large_numbers.patch

Notes
(0002784)
Dmitry   
2010-09-06 17:04   
Tested good on 5.1.0, ready for commit.
(0003191)
alex   
2011-01-09 13:43   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000844: Large numbers (over 1 million) are not properly parsed in javascript
(0003341)
Dmitry   
2011-03-30 09:53   
Closing, since 5.1.2 release has been released.