Uploaded image for project: '[Read Only] - Hippo Archetype'
  1. [Read Only] - Hippo Archetype
  2. ARCHE-261

Regression: Can't create text document, and can't save a news document as author

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.05.05, 1.07.00
    • 1.05.10, 1.07.01

    Description

      To reproduce:

      • Log in as author
      • Go to documents
      • In the News/2011 folder, add a document of type newsdocument
      • Enter a title
      • Click "Save & Close"
        Expected result: The document should be saved
        Acutal result: A message appears: "An error occurred, please retry."

      OR:

      • Log in as author
      • Go to documents
      • In the Common folder, add a document of type textdocument
        Expected result: A document should be created an opened in edit mode
        Actual result: The new document dialog remains. A message appears: "An error occurred, please retry."

      This is in the logs:
      26.11.2012 11:06:16 ERROR [org.hippoecm.frontend.model.JcrSessionModel.flush():74] Failed to save session before logging out
      javax.jcr.AccessDeniedException: /content/documents/project78/news/2011/author-newsssss/author-newsssss/project78:body/hippostd:content: not allowed to add or modify item
      at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:473)
      at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
      at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:42)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:359)
      at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:762)
      at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:202)
      at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:177)
      at org.hippoecm.frontend.model.JcrSessionModel.flush(JcrSessionModel.java:72)
      at org.hippoecm.frontend.model.JcrSessionModel.detach(JcrSessionModel.java:103)
      at org.hippoecm.frontend.session.PluginUserSession.logout(PluginUserSession.java:281)
      at org.hippoecm.frontend.plugins.cms.root.LogoutLink.logout(LogoutLink.java:75)
      at org.hippoecm.frontend.plugins.cms.root.LogoutLink$1.onClick(LogoutLink.java:57)
      at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:36)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              svoortman Simon Voortman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: