Bug 809528

Summary: EPP-SP: MissingResourceException in UIPresentationContainer.gtmpl
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Martin Weiler <mweiler>
Component: Site PublisherAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.2.0.GA, 5.2.0.SP.GACC: epp-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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>
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:19:29 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:
Embargoed:

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:

Comment 9 Red Hat Bugzilla 2025-02-10 03:19:29 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.