shindig-issues mailing list archives

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

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

Nuwan Bandara commented on SHINDIG-1147:
----------------------------------------

hi, 

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 org.apache.shindig.social.sample.service.SampleContainerHandler,
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 
/Nuwan 

> Reset All on samplecontainer doesn't work
> -----------------------------------------
>
>                 Key: SHINDIG-1147
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1147
>             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
console.
> 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.


Mime
View raw message