Bug 793222 (JBEPP-307)

Summary: Todo Gadget - isn't working in epp5 cr01, http error 504
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Michal Vanco <mvanco>
Component: PortalAssignee: Thomas Heute <theute>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0.ER04CC: epp-bugs, mvecera
Target Milestone: ---   
Target Release: 5.0.0.CR01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-307
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
EPP5 CR01 SNAPSHOP - 20100414
Last Closed: 2010-04-20 13:51:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Vanco 2010-04-15 15:44:00 UTC
Date of First Response: 2010-04-19 06:19:14
project_key: JBEPP

I'm not able to add Todo Gadget on Dashboard, I can see error in log:
[Renderer] Failed to render gadget http://perf15.qa.atl2.redhat.com:8080/rest/jcr/repository/portal-system/production/app:gadgets/app:Todo/app:data/app:resources/Todo.xml: Unable to retrieve message bundle xml. HTTP error 504

In GateIn it works properly, so maybe it can be some error in packaging.

Comment 1 Thomas Heute 2010-04-19 10:19:14 UTC
I wasn't able to reproduce

Comment 2 Michal Vanco 2010-04-19 12:14:56 UTC
It is reproducable only in case you start epp5 with some -b parameter. On 'localhost' it works properly. 
(as we discussed on IRC)

Comment 3 Thomas Heute 2010-04-20 13:51:51 UTC
This is due to how Google gadgets work:
http://code.google.com/apis/gadgets/docs/i18n.html

You need to specify a full URL to resources like this is done here:
                <Locale messages="http://localhost:8080/eXoGadgets/locale/Todo/ALL_ALL.xml" />
                <Locale lang="ar" messages="http://localhost:8080/eXoGadgets/locale/Todo/ar_ALL.xml" language_direction="rtl"/>
                <Locale lang="fr" messages="http://localhost:8080/eXoGadgets/locale/Todo/fr_ALL.xml" />
                <Locale lang="vi" messages="http://localhost:8080/eXoGadgets/locale/Todo/vi_ALL.xml" />

So if a user want to run one of the sample gadgets he would have to change those URLs

Comment 4 mposolda 2011-05-09 12:15:24 UTC
Link: Added: This issue relates to JBEPP-925