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

Google translation is not working for event documents & results in error on translation dialog

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • CMS-10.0-FCS
    • 2.28.00
    • None
    • None

    Description

      Stesp to reproduce:--
      1.Add google key in the repository at node "/hippo:configuration/hippo:workflows/translate/hippogogreen:basedocument/hipposys:config"
      2.Create a english document .
      3.create its dutch translated document.
      4.Now on the translation dialogue,click on the "Let google translate this document for me" check box.
      5.Now click "Ok " button on the translation dialogue.
      6."An error occurred,please retry" is shown.

      check the below logs:---->

      [INFO] [talledLocalContainer] 14.01.2015 14:28:35 ERROR [org.hippoecm.addon.workflow.AbstractWorkflowDialog.onOk():59] Could not execute workflow.
      [INFO] [talledLocalContainer] javax.jcr.PathNotFoundException: hippogogreen:location/hippogogreen:optionalText
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2265)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2252)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2252)
      [INFO] [talledLocalContainer] at org.hippoecm.repository.decorating.NodeDecorator.getProperty(NodeDecorator.java:249)
      [INFO] [talledLocalContainer] at org.onehippo.translate.TranslateWorkflowImpl.getPropertiesToTranslate(TranslateWorkflowImpl.java:184)
      [INFO] [talledLocalContainer] at org.onehippo.translate.TranslateWorkflowImpl.translate(TranslateWorkflowImpl.java:93)
      [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [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.$Proxy101.translate(Unknown Source)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.executeNonAvailableTranslati
      on(TranslationWorkflowPlugin.java:336)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.execute(TranslationWorkflowP
      lugin.java:271)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.translation.workflow.TranslationWorkflowPlugin$TranslationAction.execute(TranslationWorkflowP
      lugin.java:226)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.StdWorkflow.execute(StdWorkflow.java:219)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.StdWorkflow.execute(StdWorkflow.java:207)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.StdWorkflow.invokeWorkflow(StdWorkflow.java:236)
      [INFO] [talledLocalContainer] at org.hippoecm.addon.workflow.AbstractWorkflowDialog.onOk(AbstractWorkflowDialog.java:54)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:517)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:275)
      [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$1.onSubmit(AjaxFormSubmitBehavior.java:179)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1266)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractDialog.delegateSubmit(AbstractDialog.java:525)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.process(Form.java:938)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:770)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:123)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:626)
      [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor81.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:862)
      [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:501)
      [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:537)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
      [INFO] [talledLocalContainer] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
      [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
      [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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: