Bug 809528 - EPP-SP: MissingResourceException in UIPresentationContainer.gtmpl
Summary: EPP-SP: MissingResourceException in UIPresentationContainer.gtmpl
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Site Publisher
Version: 5.2.0.GA,5.2.0.SP.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-03 15:21 UTC by Martin Weiler
Modified: 2020-04-27 01:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When using EPP-SP with language set to Brazillian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release. </para> <para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file: <programlisting>UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor. UIPresentationContainer.msg.empty-title-error=Informe um novo titulo</programlisting>
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
EXO WCM JIRA SPREDHAT-131 0 None None None Never

Description Martin Weiler 2012-04-03 15:21:11 UTC
Description of problem:
When we try to edit and page that contains an SCV portlet we get the following exception:
Caused by: java.util.MissingResourceException: Can't find resource for bundle org.gatein.common.i18n.ParentChildResourceBundle, key UIPresentationContainer.msg.internal-server-error
at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.exoplatform.wcm.webui.scv.UIPresentationContainer.getInlineEditingMsg(UIPresentationContainer.java:402)



Steps to Reproduce:
1.Create a clean EPP+SP 5.2 installation;
2. Start EPP, go to ecmdemo, login as root
3. Change your locale to pt_br
4. Create a page and Add a single content viewer portlet to it;
5. Access this page and changed from published mode to edit mode;
6. You should see the exception mentioned above;


Additional info:
Workaround: create the keys in file gatein-wcm-extension-5.2.0-exo-2.3.3-CP01/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties
For example:
UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
UIPresentationContainer.msg.empty-title-error=Informe um novo titulo

Comment 2 Martin Weiler 2012-04-11 10:38:35 UTC
    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:
When using EPP-SP with language set to Brasilian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release.

The workaround for the current release is to add keys for pt_br locale in file gatein-wcm-extension-<VERSION>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties:
UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
UIPresentationContainer.msg.empty-title-error=Informe um novo titulo

Comment 4 Jared MORGAN 2012-04-11 23:37:58 UTC
    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,5 +1,6 @@
-When using EPP-SP with language set to Brasilian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release.
+When using EPP-SP with language set to Brasilian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release. </para>
 
-The workaround for the current release is to add keys for pt_br locale in file gatein-wcm-extension-<VERSION>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties:
+<para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file:</para>
-UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
+
-UIPresentationContainer.msg.empty-title-error=Informe um novo titulo+<programlisting>UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
+UIPresentationContainer.msg.empty-title-error=Informe um novo titulo<programlisting>

Comment 5 Jared MORGAN 2012-04-11 23:53:42 UTC
    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:
@@ -3,4 +3,4 @@
 <para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file:</para>
 
 <programlisting>UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
-UIPresentationContainer.msg.empty-title-error=Informe um novo titulo<programlisting>+UIPresentationContainer.msg.empty-title-error=Informe um novo titulo</programlisting>

Comment 6 Jared MORGAN 2012-04-11 23:55:58 UTC
    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,6 +1,6 @@
 When using EPP-SP with language set to Brasilian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release. </para>
 
-<para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file:</para>
+<para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file:
 
 <programlisting>UIPresentationContainer.msg.internal-server-error=Um erro ocorreu ao efetuar uma requisicao ao servidor.
 UIPresentationContainer.msg.empty-title-error=Informe um novo titulo</programlisting>

Comment 7 Jared MORGAN 2012-04-11 23:57:17 UTC
    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,4 @@
-When using EPP-SP with language set to Brasilian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release. </para>
+When using EPP-SP with language set to Brazillian Portuguese (pt_BR), changing to Edit mode on a page containing a Single Content Viewer Portlet results in a java.util.MissingResourceException. A fix will be included in an upcoming release. </para>
 
 <para>The workaround for the current release is to add keys for pt_BR locale in the <filename>gatein-wcm-extension-<replaceable>VERSION</replaceable>/presentation.war/WEB-INF/classes/locale/portlet/SingleContentViewer/SingleContentViewer_pt_BR.properties</filename> file:


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