Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-2902

[regression] Scheduled publication doesn't work as editor in quickstart

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • r2.07.00
    • None
    • None

    Description

      login as editor -> documents -> articles -> select article 2 -> schedule publication (from smoketest)

      To the user everything seems to go well, but nothing happens.

      In the log a large stacktrace is printed:

      27.07.2009 15:25:43 ERROR [org.hippoecm.repository.quartz.JCRJobStore.storeJobAndTrigger():103] javax.jcr.AccessDeniedException: /content/documents/articles/myarticle2/hippo:request/hipposched:triggers/default/hipposched:fireTime: not allowed to modify item
      javax.jcr.AccessDeniedException: /content/documents/articles/myarticle2/hippo:request/hipposched:triggers/default/hipposched:fireTime: not allowed to modify item
      at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:404)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1058)
      at org.hippoecm.repository.decorating.ItemDecorator.save(ItemDecorator.java:144)
      at org.hippoecm.repository.impl.NodeDecorator.save(NodeDecorator.java:85)
      at org.hippoecm.repository.quartz.JCRJobStore.storeJobAndTrigger(JCRJobStore.java:101)
      at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:613)
      at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)
      at org.hippoecm.repository.quartz.SchedulerWorkflowModule.submit(SchedulerWorkflowModule.java:64)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowContextImpl$3.invoke(WorkflowManagerImpl.java:931)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowChainHandler.invoke(WorkflowManagerImpl.java:611)
      at $Proxy2.publish(Unknown Source)
      at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.doSchedPublish(FullReviewedActionsWorkflowImpl.java:236)
      at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.publish(FullReviewedActionsWorkflowImpl.java:224)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:500)
      at $Proxy2.publish(Unknown Source)
      at org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin$5.execute(FullReviewedActionsWorkflowPlugin.java:177)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:142)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:216)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:201)
      at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:502)
      at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:380)
      at org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(AbstractDialog.java:254)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      27.07.2009 15:25:43 ERROR [org.hippoecm.repository.quartz.SchedulerWorkflowModule.submit():68] failure storing scheduled workflow
      org.quartz.JobPersistenceException: Failure storing job and trigger [See nested exception: javax.jcr.AccessDeniedException: /content/documents/articles/myarticle2/hippo:request/hipposched:triggers/default/hipposched:fireTime: not allowed to modify item]
      at org.hippoecm.repository.quartz.JCRJobStore.storeJobAndTrigger(JCRJobStore.java:104)
      at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:613)
      at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)
      at org.hippoecm.repository.quartz.SchedulerWorkflowModule.submit(SchedulerWorkflowModule.java:64)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowContextImpl$3.invoke(WorkflowManagerImpl.java:931)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowChainHandler.invoke(WorkflowManagerImpl.java:611)
      at $Proxy2.publish(Unknown Source)
      at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.doSchedPublish(FullReviewedActionsWorkflowImpl.java:236)
      at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.publish(FullReviewedActionsWorkflowImpl.java:224)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:500)
      at $Proxy2.publish(Unknown Source)
      at org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin$5.execute(FullReviewedActionsWorkflowPlugin.java:177)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:142)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:216)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:201)
      at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:502)
      at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:380)
      at org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(AbstractDialog.java:254)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

      • Nested Exception (Underlying Cause) ---------------
        javax.jcr.AccessDeniedException: /content/documents/articles/myarticle2/hippo:request/hipposched:triggers/default/hipposched:fireTime: not allowed to modify item
        at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:404)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1058)
        at org.hippoecm.repository.decorating.ItemDecorator.save(ItemDecorator.java:144)
        at org.hippoecm.repository.impl.NodeDecorator.save(NodeDecorator.java:85)
        at org.hippoecm.repository.quartz.JCRJobStore.storeJobAndTrigger(JCRJobStore.java:101)
        at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:613)
        at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:238)
        at org.hippoecm.repository.quartz.SchedulerWorkflowModule.submit(SchedulerWorkflowModule.java:64)
        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowContextImpl$3.invoke(WorkflowManagerImpl.java:931)
        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowChainHandler.invoke(WorkflowManagerImpl.java:611)
        at $Proxy2.publish(Unknown Source)
        at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.doSchedPublish(FullReviewedActionsWorkflowImpl.java:236)
        at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.publish(FullReviewedActionsWorkflowImpl.java:224)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:500)
        at $Proxy2.publish(Unknown Source)
        at org.hippoecm.frontend.plugins.reviewedactions.FullReviewedActionsWorkflowPlugin$5.execute(FullReviewedActionsWorkflowPlugin.java:177)
        at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction.execute(CompatibilityWorkflowPlugin.java:142)
        at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:216)
        at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:201)
        at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:502)
        at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:380)
        at org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(AbstractDialog.java:254)
        at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
        at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
        at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
        at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
        at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
        at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
        at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
        at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
        at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

      Attachments

        Activity

          People

            berry van halderen Berry van Halderen (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: