You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Brian Eaton (JIRA)" <ji...@apache.org> on 2008/03/01 01:17:51 UTC

[jira] Updated: (SHINDIG-101) caja breaks gadgets.config

     [ https://issues.apache.org/jira/browse/SHINDIG-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Eaton updated SHINDIG-101:
--------------------------------

    Attachment: likevalidator.patch

Not sure if this is the right fix, but it seems sort of reasonable.

> caja breaks gadgets.config
> --------------------------
>
>                 Key: SHINDIG-101
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-101
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript
>         Environment: Probably everywhere, definitely FF2 on Linux
>            Reporter: Brian Eaton
>            Assignee: Kevin Brown
>         Attachments: likevalidator.patch
>
>
> If you try to render the Orkut iLike gadget in Shindig gadgets.config.init() throws an error saying "Invalid config value Object for parameter default in component view".  The problem is that the view feature uses a LikeValidator that iterates over all of the properties of an object.  Caja modifies Object.prototype, so the LikeValidator starts complaining because things like handleRead__ are not present in the data object passed in.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.