tracker issue : CF-3041793

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 83638:The patch notes state that the int to float bug has been fixed

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Patrick Liess / Patrick Liess (smrch)

Created: 07/19/2010

Components: AJAX, Plumbing

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 9.0.1 / 274873

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 36

Problem:

The patch notes state that  the int to float bug has been fixed. It says that 10 will turn to 10, 012 will turn to "012" (which is fine) and 10.25 will turn to 10.25 in JSON representation. However all numbers are just turned to strings.
Method:

<cfoutput>  var someNumber = #SerializeJSON(123)#;</cfoutput>Result:var someNumber =  "123";
Result:

SerializeJSON turns integers like 123 into strings.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041793

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Patrick Liess
External Customer Email: 763E4D9343C415DF0AAC0C17
External Test Config: 07/19/2010

Attachments:

Comments:

This bug has been voted..
Vote by External U.
21623 | November 11, 2011 12:46:14 AM GMT
This bug has been voted..
Vote by External U.
21624 | November 11, 2011 12:46:16 AM GMT
This bug has been voted..
Vote by External U.
21625 | November 11, 2011 12:46:18 AM GMT
This bug has been voted..
Vote by External U.
21626 | November 11, 2011 12:46:20 AM GMT
This bug has been voted..
Vote by External U.
21627 | November 11, 2011 12:46:22 AM GMT
When i pass a value 556 to CF, it ends up being 556.0 which is not what i want, I want the original number to be desrialized
Vote by External U.
21628 | November 11, 2011 12:46:23 AM GMT
This bug has been voted..
Vote by External U.
21629 | November 11, 2011 12:46:25 AM GMT
This bug has been voted..
Vote by External U.
21630 | November 11, 2011 12:46:27 AM GMT
This bug has been voted..
Vote by External U.
21631 | November 11, 2011 12:46:29 AM GMT
This bug has been voted..
Vote by External U.
21632 | November 11, 2011 12:46:32 AM GMT
This bug has been voted..
Vote by External U.
21633 | November 11, 2011 12:46:34 AM GMT
Same issue, this is not how JSON should act.
Vote by External U.
21634 | November 11, 2011 12:46:35 AM GMT
This bug has been voted..
Vote by External U.
21635 | November 11, 2011 12:46:37 AM GMT
thi sis a critical bug which is broking some of our applications when migrating from cf8 to cf9
Vote by External U.
21636 | November 11, 2011 12:46:38 AM GMT
This bug has been voted..
Vote by External U.
21637 | November 11, 2011 12:46:40 AM GMT
This bug has been voted..
Vote by External U.
21638 | November 11, 2011 12:46:42 AM GMT
Updating to 9.0.1 has broken our app because of this json serialization change. It would have been nice if this could have been a configurable change (or if the serialization process itself could be customizeable). In the end, what I really want is how it currently behaves BUT the ability to send straight numeric values sans quotes.
Vote by External U.
21639 | November 11, 2011 12:46:44 AM GMT
Everything is returned as strings so this is step backwards. Also if I return two integers in a struct with the only difference being that I increment one of them (using ++) then the incremented one is returned as a sting with .0 decimal
Vote by External U.
21640 | November 11, 2011 12:46:45 AM GMT
Let's try and get the typing system right for JSON. Adding in the option to convert/unconvert nulls to either empty strings or 0s would be a nice change as well
Vote by External U.
21641 | November 11, 2011 12:46:47 AM GMT
This bug has been voted..
Vote by External U.
21642 | November 11, 2011 12:46:48 AM GMT
This bug has been voted..
Vote by External U.
21643 | November 11, 2011 12:46:51 AM GMT
This bug hampers the ablity to reliably share data between systems because the data typing is wrong
Vote by External U.
21644 | November 11, 2011 12:46:53 AM GMT
This bug has been voted..
Vote by External U.
21645 | November 11, 2011 12:46:55 AM GMT
+1. Datatypes need to be reliable.
Vote by External U.
21646 | November 11, 2011 12:46:57 AM GMT
This bug has been voted..
Vote by External U.
21647 | November 11, 2011 12:46:59 AM GMT
This bug has been voted..
Vote by External U.
21648 | November 11, 2011 12:47:01 AM GMT
This bug has been voted..
Vote by External U.
21649 | November 11, 2011 12:47:03 AM GMT
This bug has been voted..
Vote by External U.
21650 | November 11, 2011 12:47:05 AM GMT
This bug has been voted..
Vote by External U.
21651 | November 11, 2011 12:47:07 AM GMT
This bug broke my app and will require days to fix and test.. It also adds unnecessary extra Javascript parseFloat(), parseInt() functions.
Vote by External U.
21652 | November 11, 2011 12:47:09 AM GMT
This bug has been voted..
Vote by External U.
21653 | November 11, 2011 12:47:12 AM GMT
This bug has been voted..
Vote by External U.
21654 | November 11, 2011 12:47:14 AM GMT
This bug has been voted..
Vote by External U.
21655 | November 11, 2011 12:47:16 AM GMT
This bug has been voted..
Vote by External U.
21656 | November 11, 2011 12:47:18 AM GMT
Adobe please fix this as soon as possible. Many thanks
Vote by External U.
21657 | November 11, 2011 12:47:19 AM GMT
This bug has been voted..
Vote by External U.
21658 | November 11, 2011 12:47:22 AM GMT