CMS create content item fails on save
-------------------------------------
Key: JBPORTAL-1278
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1278
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal CMS
Affects Versions: 2.6.Alpha2
Environment: AS 4.0.5.GA, XP
Reporter: Ian White
Assigned To: Roy Russo
In the CMS admin portlet, click to create a new file.
Use the WYSIWYG editor ...
Try to save the new file by clicking "create".
You get the error: Cannot mark the content as "Live"
javax.servlet.ServletException
org.jboss.portal.server.servlet.PortalServlet.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:418)
org.jboss.portal.core.controller.classic.AbstractResponseHandler.sendStatusCode(Unknown
Source)
org.jboss.portal.core.controller.portlet.PortletResponseHandler.handleResponse(Unknown
Source)
org.jboss.portal.core.controller.classic.ClassicController.handleResponse(Unknown
Source)
...
01:17:22,540 ERROR [STDERR] Caused by: org.jboss.portal.cms.CMSException: Cannot mark the
content as "Live"
01:17:22,540 ERROR [STDERR] at
org.jboss.portal.cms.impl.jcr.util.VersionUtil.createContentVersion(VersionUtil.java:91)
01:17:22,540 ERROR [STDERR] at
org.jboss.portal.cms.impl.jcr.util.VersionUtil.createVersion(VersionUtil.java:63)
01:17:22,540 ERROR [STDERR] at
org.jboss.portal.cms.impl.jcr.command.ContentCreateNewVersionCommand.execute(ContentCreateNewVersionCommand.java:117)
01:17:22,540 ERROR [STDERR] ... 246 more
01:17:22,540 ERROR [org_jboss_portal_core_cms_ui_admin_CMSAdminPortlet] The portlet threw
an exception
java.lang.RuntimeException: org.jboss.portal.cms.CMSException: Cannot mark the content as
"Live"
at
org.jboss.portal.cms.impl.jcr.command.ContentCreateNewVersionCommand.execute(ContentCreateNewVersionCommand.java:127)
at
org.jboss.portal.cms.impl.jcr.JCRCompositeCommand.execute(JCRCompositeCommand.java:49)
at org.jboss.portal.cms.impl.jcr.JCRCMS$1.invoke(JCRCMS.java:115)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Unknown Source)
at
org.jboss.portal.cms.impl.interceptors.ApprovalWorkflowInterceptor.invoke(ApprovalWorkflowInterceptor.java:87)
at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36)
--
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