[Mono-bugs] [Bug 564682] Callback function not raised for web service method called through javascript proxy class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 17 17:50:58 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=564682

http://bugzilla.novell.com/show_bug.cgi?id=564682#c2


--- Comment #2 from Chris Brown <chrisbrown76 at hotmail.com> 2010-01-17 22:50:56 UTC ---
I believe this issue has been caused by a modification to LogicalTypeInfo.cs on
19/11/2009 in System.Web.Extensions\System.Web.Script.Services (although the
modification itself was correct). 

According to the change log the JSONResult class was removed. Prior to this as
a result of this class I believe everything was being processed as an object
(name/value) e.g a webmethod returning a single string value would result in
JSON of {"d":"mystring"}. Accessing 'result' in the callback function would
return "mystring". Now however the string is returned in JSON as "mystring",
which although I believe now correct based on the JSON specification, returns
'undefined' when attempting to access the 'result' from Javascript.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list