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

No user friendly warning message displayed while publishing a document using "publish all in folder..." option without saving&closing it.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • CMS-10.0-alpha-1, 7.9.8
    • 3.1.0
    • None

    Description

      Steps to reproduce:-->
      1.Edit an already existing published news document.
      2.Just "save" the document.Don't click on save&close.
      3.Try to publish the document using publish all in folder... option.
      4. Ok button on dialogue remains enabled.So click on it.
      5.action failed error is logged in console & in CMS

      Expected result:-->user friendly message should be displayed in case user forgot to "save&close" the document or simply disable the "OK" button on dialogue.
      -----------------------------------------------------------
      [INFO] [talledLocalContainer] 16.04.2015 15:28:31 ERROR [org.onehippo.repository.scxml.SCXMLWorkflowExecutor.handleException():150] Cannot invoke work
      flow documentworkflow action publish: action not allowed or undefined
      [INFO] [talledLocalContainer] org.hippoecm.repository.api.WorkflowException: Cannot invoke workflow documentworkflow action publish: action not allowe
      d or undefined
      [INFO] [talledLocalContainer] at org.onehippo.repository.scxml.SCXMLWorkflowExecutor.triggerAction(SCXMLWorkflowExecutor.java:282)
      [INFO] [talledLocalContainer] at org.onehippo.repository.scxml.SCXMLWorkflowExecutor.triggerAction(SCXMLWorkflowExecutor.java:243)
      [INFO] [talledLocalContainer] at org.onehippo.repository.documentworkflow.DocumentWorkflowImpl.publish(DocumentWorkflowImpl.java:269)
      [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor625.invoke(Unknown Source)
      [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:483)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:368)
      [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy156.publish(Unknown Source)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.reviewedactions.ExtendedFolderWorkflowPlugin$1.execute(ExtendedFolderWorkflowPlugin.j
      ava:139)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.StdWorkflow.execute(StdWorkflow.java:236)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.StdWorkflow.invokeWorkflow(StdWorkflow.java:265)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.AbstractWorkflowDialog.onOk(AbstractWorkflowDialog.java:53)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.reviewedactions.ExtendedFolderWorkflowPlugin$ConfirmBulkWorkflowDialog.handleSubmit(E
      xtendedFolderWorkflowPlugin.java:297)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:286)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.ButtonWrapper$1.onSubmit(ButtonWrapper.java:80)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1288)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog.delegateSubmit(AbstractDialog.java:543)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.process(Form.java:952)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog.process(AbstractDialog.java:668)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:784)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:146)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:633)
      [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source)
      [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:483)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
      [INFO] [talledLocalContainer] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandl
      er.java:250)
      [INFO] [talledLocalContainer] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java
      :236)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      [INFO] [talledLocalContainer] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      [INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      [INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      [INFO] [talledLocalContainer] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      [INFO] [talledLocalContainer] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      [INFO] [talledLocalContainer] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      [INFO] [talledLocalContainer] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474)
      [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745)
      [INFO] [talledLocalContainer] 16.04.2015 15:28:31 WARN [org.hippoecm.addon.workflow.AbstractWorkflowDialog.onOk():55] Could not execute workflow: Can
      not invoke workflow documentworkflow action publish: action not allowed or undefined

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              pgupta Pankaj Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: