[
http://jira.nuxeo.org/browse/NXP-4063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Roger updated NXP-4063:
------------------------------
Status: Open (was: Triage)
> Fix error when accessing a published document without access to the live
> document in workspaces
> -----------------------------------------------------------------------------------------------
>
> Key: NXP-4063
> URL: http://jira.nuxeo.org/browse/NXP-4063
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Reporter: Anahide Tchertchian
> Assignee: Thomas Roger
> Fix For: 5.2.1
>
>
> Trying to display information about other places where doc is published, it
> crashes with given error:
> Caused by: javax.el.ELException: /incl/summary/publication.xhtml @78,87
> value="#{publishActions.getPublishedDocumentsFor(tree.name)}":
> org.nuxeo.ecm.core.api
> .DocumentSecurityException: Privilege 'Read' is not granted to 'Guest'
> at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:74)
> at
> org.nuxeo.ecm.platform.ui.web.binding.MethodValueExpression.getValue(MethodValueExpression.java:112)
> at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:40)
> at org.jboss.el.parser.AstEqual.getValue(AstEqual.java:21)
> at
> org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> at
> com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
> ... 82 more
> Caused by: org.nuxeo.ecm.core.api.DocumentSecurityException: Privilege 'Read'
> is not granted to 'Guest'
> at
> org.nuxeo.ecm.core.api.AbstractSession.checkPermission(AbstractSession.java:293)
> at
> org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1086)
> at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
> at
> org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
> at
> org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
> at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at
> org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
> at
> org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
> at
> org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
> ...
> at
> org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
> at
> org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
> at $Proxy215.getDocument(Unknown Source)
> at
> org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree.getExistingPublishedDocument(SectionPublicationTree.java:56)
> at
> org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.getExistingPublishedDocument(PublisherServiceImpl.java:395)
> at
> org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.getExistingPublishedDocument(AbstractRemotableTree.java:41)
> at
> org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.getPublishedDocumentsFor(PublishActionsBean.java:250)
> at sun.reflect.GeneratedMethodAccessor963.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
> at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
> at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
> at
> org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
> at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
> at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
> at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
> at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
> at
> org.nuxeo.ecm.platform.publisher.web.PublishActionsBean_$$_javassist_54.getPublishedDocumentsFor(PublishActionsBean_$$_javassist_54.java)
> at sun.reflect.GeneratedMethodAccessor962.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
> at
> org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
> at
> org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
> at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
> at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
> at
> org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
> at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets