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

Mike Pawlowski updated SHINDIG-1926:
------------------------------------

    Description: 
-----------------------------------------------
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.

  was:

-----------------------------------------------
Steps To Reproduce
-----------------------------------------------

(1) Start Java version of Shindig Server (2.5.0)

(2) Open Firefox browser, enable Firebug, enable Script tab

(3) Go to common container sample using Firefox
     => In our case: http://localhost:9082/containers/commoncontainer/
     => BUG: Script tab indicates exception: JSON.parse: expected ':' after 
property name in object 
     => BUG: Sample gadgets drop menu fails to load in "Manage Gadgets" section.

-----------------------------------------------
Problem
-----------------------------------------------

JSON is invalid in the following file: 
/containers/commoncontainer/viewsMenu.json

{ "views":
  [
    {"name": "home", "value": "home", "height": "400px", "width": "450px"},
    {"name": "canvas", "value": "canvas", "height": "500px", "width": "800px"},
    {"name": "profile", "profile", "height": "500px", "width": "300px"}
  ]
}

-----------------------------------------------
Fix
-----------------------------------------------

Add missing property key: "value": 

{ "views":
  [
    {"name": "home", "value": "home", "height": "400px", "width": "450px"},
    {"name": "canvas", "value": "canvas", "height": "500px", "width": "800px"},
    {"name": "profile", "value": "profile", "height": "500px", "width": "300px"}
  ]
}


    
> 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
>
> -----------------------------------------------
> 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

Reply via email to