Improve error handling when the CMS content cannot be found by the content selector
-----------------------------------------------------------------------------------
Key: JBPORTAL-1721
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1721
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal CMS
Reporter: Thomas Heute
Assigned To: Sohil Shah
Fix For: 2.6.3 Final
If the content of a file doesn't exist neither in the user preferred locale and the
default locale set up at the service level, the CMS content selector will fail with a NPE
in:
/WEB-INF/jsp/cms/editor/main.jsp at line 128
125: <p class="portlet-font">
126: Selected file: <%= uri %><br />
127: <%
128: if (content.getTitle() != null)
129: {
130: out.println("File title: " + content.getTitle() + "<br
/>");
131: }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira