[
https://issues.apache.org/jira/browse/SHINDIG-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736936#comment-13736936
]
Mike Pawlowski commented on SHINDIG-1926:
-----------------------------------------
Ryan, my apologies.
Here is the correct URL:
=> NYTimes.com Top Stories -
http://widgets.nytimes.com/packages/html/igoogle/topstories.xml
>> Are you seeing any requests made back to the server that may have error
>> responses in them?
Unfortunately, no.
The image requests actually resolve; however, the gadget renderer is returning
img tags with attributes specifying zero height & width attributes.
e.g.
--------------------
<img alt="Simon the Golden Retriever "
src="http://localhost:9082/gadgets/proxy/simon-the-golden-retriever_70967_2013-08-12_w200.jpg?container=default&refresh=3600&url=http%3A%2F%2Fcdn-www.dailypuppy.com%2Fdog-images%2Fsimon-the-golden-retriever_70967_2013-08-12_w200.jpg"
height="0" width="0"></a>
-------------------
I've attached the following to the issue:
* A screen shot illustrating the problem
* A screen shot showing the expected output
* The rendered HTML source within the gadget iframe
Here is the iframe source itself:
--------------------
<iframe width="100%" scrolling="no" height="200" frameborder="0"
onload="window.__gadgetOnLoad('http://dailypuppy.com/gmod/thedailypuppy.xml',
'gadget-site-0');" title="The Daily Puppy" hspace="0" vspace="0"
marginheight="0" marginwidth="0"
src="//localhost:9082/gadgets/ifr?url=http%3A%2F%2Fdailypuppy.com%2Fgmod%2Fthedailypuppy.xml&container=default&view=default&lang=en&country=US&debug=1&nocache=1&sanitize=%25sanitize%25&v=ce02d9d7f5f2e5c9611ff52c684dc7c4&testmode=0&parent=http%3A%2F%2Flocalhost%3A9082&mid=0#up_whichType=%25up_whichType%25&up_pictureWidth=%25up_pictureWidth%25&up_numberPictures=%25up_numberPictures%25&up_showComments=%25up_showComments%25&up_hideName=%25up_hideName%25&rpctoken=1248833043"
name="__gadget_gadget-site-0" id="__gadget_gadget-site-0" style="height:
88px;"></iframe>
--------------------
Hope that helps. Let me know if you need additional information.
> Common container sample fails to properly load some external gadgets that
> perform makeRequest operations
> --------------------------------------------------------------------------------------------------------
>
> Key: SHINDIG-1926
> URL: https://issues.apache.org/jira/browse/SHINDIG-1926
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Affects Versions: 2.5.0
> Environment: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0)
> Gecko/20100101 Firefox/22.0
> Reporter: Mike Pawlowski
> Priority: Minor
> Attachments: daily-puppy-bug.png, daily-puppy-expected.png,
> daily-puppy-rendered-source.txt
>
>
> -----------------------------------------------
> Steps To Reproduce
> -----------------------------------------------
> (1) Start Java version of Shindig Server (2.5.0)
> (2) Open Firefox browser
> (3) Go to common container sample using Firefox
> => In our case: http://localhost:9082/containers/commoncontainer/
> (4) Input one of the following external gadgets into the text filed in the
> "Manage Gadgets" section
> => The Daily Puppy - http://dailypuppy.com/gmod/thedailypuppy.xml
> => NYTimes.com Top Stories - http://dailypuppy.com/gmod/thedailypuppy.xml
> (5) Click the "Preload and Add" button
> => BUG: Gadget is not rendered properly (missing elements such as images)
> => Note: There are no errors in the FF Firebug Console
> => Note: There are no failing requests in the FF Firebug Net tab
> => Note: There are no relevant errors in the Java Console (launched via
> Eclipse Jetty)
>
> Note: The above gadgets load fine using the deprecated "shindig.container"
> API using the same version of Shindig.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira