Bug 793222 (JBEPP-307) - Todo Gadget - isn't working in epp5 cr01, http error 504
Summary: Todo Gadget - isn't working in epp5 cr01, http error 504
Keywords:
Status: CLOSED NOTABUG
Alias: JBEPP-307
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.0.0.ER04
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0.0.CR01
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-15 15:44 UTC by Michal Vanco
Modified: 2013-04-30 23:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
EPP5 CR01 SNAPSHOP - 20100414
Last Closed: 2010-04-20 13:51:51 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 793851 0 low CLOSED TODO gadget has unlocalized button "__MSG_Save__" 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBEPP-307 0 None None None Never

Internal Links: 793851

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



Note You need to log in before you can comment on or make changes to this bug.