You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2010/04/12 04:23:42 UTC

[jira] Commented: (SHINDIG-1293) Issue taming gadgets.io.encodeValues

    [ https://issues.apache.org/jira/browse/SHINDIG-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855809#action_12855809 ] 

Paul Lindner commented on SHINDIG-1293:
---------------------------------------

can this be marked resolved now that the code has been committed?


> Issue taming gadgets.io.encodeValues
> ------------------------------------
>
>                 Key: SHINDIG-1293
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1293
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Chirag Shah
>             Fix For: 1.1-BETA6
>
>         Attachments: SHINDIG-1293.patch.diff
>
>
> gadgets.io.encodeValues appends the following string to its response: "FROZEN___=%5Bobject%20Object%5D&TAMED_TWIN___=%5Bobject%20Object%5D"
> Here's a sample application that exhibits this behavior:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>  <ModulePrefs title="test">
>  <Require feature="caja"/>
>  </ModulePrefs>
>  <Content type="html">
> <![CDATA[
> <div id="test"></div>
> <script>
>     var postdata = {};
>     postdata = gadgets.io.encodeValues(postdata);
>     document.getElementById('test').innerHTML = postdata;
> </script>  
> ]]>
>   </Content>
> </Module>
> We're seeing this in the latest version of Shindig.
> Here is the cajoler information:
>       'cajolerName': 'com.google.caja',
>       'cajolerVersion': '3948:3950',
>       'cajoledDate': 1264020785928

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira