[
https://issues.jboss.org/browse/GTNPORTAL-2388?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2388:
----------------------------------------------------
Jared MORGAN <jmorgan(a)redhat.com> made a comment on [bug
824860|https://bugzilla.redhat.com/show_bug.cgi?id=824860]
Technical note updated. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
Diffed Contents:
@@ -1,4 +1 @@
-Cause: Loading gadget when source was down
+When the Doodle gadget was added to a dashboard, and the source website supplying the
gadget metadata was unavailable, the gadget was not loaded, and a user interface error
occurred. The fix introduces a more informative error message to all gadgets that require
external sources, which displays in the user interface at the time the error occurs. This
helps the user diagnose the problem easier, and fixes the issue.-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
Attachments: doodle_error.png
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