shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuwan Bandara (JIRA)" <>
Subject [jira] Commented: (SHINDIG-1147) Reset All on samplecontainer doesn't work
Date Wed, 16 Dec 2009 12:45:18 GMT


Nuwan Bandara commented on SHINDIG-1147:


I too get this error, how ever the tomcat log files indicate that an exception is thrown.

INFO: Returning a response error as result of a protocol exception 
org.apache.shindig.protocol.ProtocolException: evil data has not been implemented yet 

I did some debugging and found out that it is by design, take a look at,
public Future<?> create(RequestItem request) throws ProtocolException method which is
pointed by the exception and you will find the cause. 

However I believe this is not the issue for the content not getting rendered. When the "Reset
all" button is pressed "shindig.samplecontainer.changeGadgetUrl" function getting called which
inturn calls "refreshGadgets(metadata)", and as far as I understood this calls "gadgets.container.renderGadgets()"
which is wrong. The correct call should be "gadgets.container.refreshGadgets()". 

I tried applying this fix and it worked. If anyone can confirm this, I can submit a patch.

thanks & Regards 

> Reset All on samplecontainer doesn't work
> -----------------------------------------
>                 Key: SHINDIG-1147
>                 URL:
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>         Environment: Firefox 3.0.11 on Ubuntu
>            Reporter: Jasvir Nagra
> 1. Do a clean checkout and build of shindig
> 2. Load samplecontainer and SocialHellWorld.xml
> 3. Notice that it renders
> 4. Hit Reset All
> 5. The contents of the rendered window disappear but there are no errors on the firebug
> Reloading the page works.

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

View raw message