Shindig supports localized messages that do not comform to the OpenSocial
specification
---------------------------------------------------------------------------------------
Key: SHINDIG-1662
URL: https://issues.apache.org/jira/browse/SHINDIG-1662
Project: Shindig
Issue Type: Bug
Components: Java
Affects Versions: 1.0.1
Reporter: Randy Hudson
Check out the following example gadget:
http://hosting.gmodules.com/ig/gadgets/file/112876196818550248246/JIRA.xml
Which contains:
<Locale>
<foobar>
<msg name="gadget.introduction.title">foobar/Introduction</msg>
<msg name="gadget.introduction.description">An introduction to this
installation of JIRA.</msg>
</foobar>
</Locale>
Even though the <msg> elements are in the wrong place, shindig finds them and
uses them anyway. Because of this lax behavior, the folks over at Atlassian
have authored OpenSocial 1.0 gadgets which incorrectly include a
<messagebundle> element when declaring "inline" messages in gadgets. The
<messagebundle> element is only used when the message bundle is an external
resource. As a result, these gadgets are supported by shindig, but not other
OpenSocial containers conforming to the spec.
Shindig should follow the spec and only look for <msg> elements that are
children of the <Locale> element
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira