[
https://issues.jboss.org/browse/GTNPORTAL-2388?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2388:
----------------------------------------------------
Honza Fnukal <hfnukal(a)redhat.com> made a comment on [bug
824860|https://bugzilla.redhat.com/show_bug.cgi?id=824860]
Technical note added. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
New Contents:
Cause: Loading gadget when source was down
Consequence: Gadget not loaded, broken UI
Fix: Handle error on background
Result: Show user friendly error
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.Final
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/ga...;,
{"error":"Failed to get gadget
metadata.","secureToken":"default:-54gmq1IiOoqe50Ltr5...,
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