[JBoss JIRA] (GTNPORTAL-2388) Error while rendering doodle gadget when source is dead
by kien nguyen (JIRA)
kien nguyen created GTNPORTAL-2388:
--------------------------------------
Summary: Error while rendering doodle gadget when source is dead
Key: GTNPORTAL-2388
URL: https://issues.jboss.org/browse/GTNPORTAL-2388
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: kien nguyen
Assignee: kien nguyen
Fix For: 3.3.0.CR01
Step to reproduce :
Login on the intranet
Open your dashboard
Add a gadgets
Select doodle gadget and add it on your dashboard
error : see attach screenshot
Doodle.com was down at this moment but we should handle this kind of exception and display a friendly message.
2nd error :
{code}
TypeError: metadata.modulePrefs is undefined :
eXo.gadget.UIGadget.createGadget('http://www.doodle.com/opensocial/gadget.xml','content-536b0f09-d3e5-49fa-a4e9-a5243e271976', {"error":"Failed to get gadget metadata.","secureToken":"default:-54gmq1IiOoqe50Ltr5evB1vR-3nY6gX6FjjdAvqE8t7OtC_hPZeHaKqfuFZPeme4LntDRoY129Qdr2snp7Dr-es3wunKulO1xdaiBpd9hQ9J1vdQPGELdM2Vgi7Lg_1hs2LJV7pvXuNAQkAB6d4x84yJPv6UkHNHDUJSx35ZItUMUYc1HRdcNrdpGohKkpxqwu9F-FfFb6ZuObyJ25SK8BKKWjygpXFgXjM_fznHcre7ejCmz1dWYZ5NWockaWnIWuyPcKZMhx24PL-2ey1ML1yf3k","url":"http://www.doodle.com/opensocial/gadget.xml"}, null, 'home', 'http://int.exoplatform.org/eXoGadgetServer/gadgets', 0, 0, 0) -- 9
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months