Hi

On Wed, Nov 30, 2011 at 3:23 PM, Isuru Wimalasundera <[email protected]>wrote:

> Hi All
>
> There was an issue with the correct location of the gadget.xml of impact
> analysis gadget. By changing the location I got my issue fixed. But the
> JSON issue is yet to be test and it is open for discussion. The update
> suggested by Achala can be a solution for this since it seems IE8 has
> issues in supporting JSON.
>

You can try adding json.js and see if that has any effect.

Regards,
/Nuwan


>
> Thank You
> Isuruw
>
> On Wed, Nov 30, 2011 at 12:53 PM, Achala Aponso <[email protected]> wrote:
>
>> Hi,
>>
>> According to [1] there is an update available for the native JSON feature
>> in IE8. Further it says that the issues are caused by deviations between
>> the native JSON feature in Internet Explorer 8 and the final specification.
>> The update will address few issues including *JSON.parse (**)*. And also
>> it follows ECMAScript, fifth edition" standard specification.
>>
>> [1] http://support.microsoft.com/kb/976662
>>
>> Thanks,
>> Achala
>>
>>
>> On Wed, Nov 30, 2011 at 12:37 PM, Ruchira Wageesha <[email protected]>wrote:
>>
>>> This function comes form [1], and it is not a ECMAScript function.
>>> Please verify whether it is included in the JSP. Chrome and Firefox might
>>> have packed it.
>>>
>>> [1] http://www.json.org/js.html
>>>
>>> /Ruchira
>>>
>>> On Wed, Nov 30, 2011 at 11:00 AM, Isuru Wimalasundera 
>>> <[email protected]>wrote:
>>>
>>>> Hi All
>>>>
>>>> While working on the issue
>>>> https://wso2.org/jira/browse/CARBON-11462?focusedCommentId=47196#action_47196
>>>>  a
>>>> JS error occured saying that JSON is undefined with in the main.js of
>>>> Impact Analysis Gadget. This only occurs with IE8, which is suppose to be a
>>>> JSON supported browser. The Gadget works fine with Chrome and Firefox. This
>>>> JS error avoid the gadget being populated with data as the error gets hit
>>>> at given below code snippet of the gadget.
>>>>
>>>> var json = {};
>>>>     if (canJSON(data)) {
>>>>         json = data;
>>>>     } else {
>>>>         json = JSON.parse(data); <===== JSON undefined
>>>>     }
>>>>
>>>> Any ideas on this or suggestions to overcome this issue would be a
>>>> great help.
>>>>
>>>> Thanks
>>>> Isuruw
>>>>
>>>> --
>>>> *Isuru Wimalasundera*
>>>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>>>  mobile: +94 77 920 5641
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Ruchira Wageesha
>>> Software Engineer - WSO2 Inc. www.wso2.com
>>>
>>> Email: [email protected] Blog: [email protected]
>>> Mobile: +94775493444
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Isuru Wimalasundera*
> Software Engineer;  WSO2, Inc.; http://wso2.com,
>  mobile: +94 77 920 5641
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Thanks & Regards,

Nuwan Bandara
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://nuwan.bandara.co
*
<http://www.nuwanbando.com/>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to