Opened 8 years ago

Closed 8 years ago

#513 closed bug (worksforme)

Creating a new document with GoogleDocs function goes to trash

Reported by: jkenyon Owned by:
Priority: minor Milestone:
Component: Google Drive Version: 7.1.2
Keywords: Cc:

Description

When creating a new doc using the GoogleDocs? function in LogicalDOC, the document is created however it is placed in the "Trash" on the GoogleDrive? and therefore does not appear in LogicalDOC.

Change History (5)

comment:1 Changed 8 years ago by car031

Double checked on the current 7.1.3(released in the next days) and all seems to work well. We also think not to have problems in the 7.1.2. Please double check again.

comment:2 Changed 8 years ago by jkenyon

I double checked 7.1.2 and got the same result.

What I am doing is:
1) Click on a folder, go to Tools --> Google Docs --> Create Document
2) Enter a document name in the prompt
3) GoogleDocs? editor opens fine, I write some text then click SAVE
4) Return back to LogicalDOC but document is missing, however is created in GoogleDrive? trash

Here is a snippet from the dms.log file:

14.01.2015 09:41:49,415 ERROR (com.logicaldoc.gdocs.GDocsServiceImpl: 278) -- Error importing document document:1_SppVLrB8ua6MdAK8dw_RNU8EsjsMAFKkODpiBBPBzQ
com.google.gdata.util.ResourceNotFoundException?: Not Found
<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>

at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:599)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:564)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:560)
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:538)
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:536)
at com.google.gdata.client.media.MediaService?.getMediaResource(MediaService?.java:233)
at com.google.gdata.client.media.MediaService?.getMedia(MediaService?.java:275)
at com.google.gdata.client.media.MediaService?.getMedia(MediaService?.java:301)
at com.logicaldoc.gdocs.GDocsClient.downloadFile(GDocsClient.java:557)
at com.logicaldoc.gdocs.GDocsClient.downloadDocument(GDocsClient.java:648)
at com.logicaldoc.gdocs.GDocsServiceImpl.importDocuments(GDocsServiceImpl.java:262)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:57)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
at com.google.gwt.user.server.rpc.RemoteServiceServlet?.processCall(RemoteServiceServlet?.java:265)
at com.google.gwt.user.server.rpc.RemoteServiceServlet?.processPost(RemoteServiceServlet?.java:305)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet?.doPost(AbstractRemoteServiceServlet?.java:62)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:641)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:722)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:305)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at com.logicaldoc.web.CharsetFilter?.doFilter(CharsetFilter?.java:26)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at com.logicaldoc.web.SessionFilter?.doFilter(SessionFilter?.java:37)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at org.tuckey.web.filters.urlrewrite.RuleChain?.handleRewrite(RuleChain?.java:164)
at org.tuckey.web.filters.urlrewrite.RuleChain?.doRules(RuleChain?.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter?.processRequest(UrlRewriter?.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter?.doFilter(UrlRewriteFilter?.java:417)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at org.apache.catalina.core.StandardWrapperValve?.invoke(StandardWrapperValve?.java:225)
at org.apache.catalina.core.StandardContextValve?.invoke(StandardContextValve?.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase?.invoke(AuthenticatorBase?.java:472)
at org.apache.catalina.core.StandardHostValve?.invoke(StandardHostValve?.java:168)
at org.apache.catalina.valves.ErrorReportValve?.invoke(ErrorReportValve?.java:98)
at org.apache.catalina.valves.AccessLogValve?.invoke(AccessLogValve?.java:927)
at org.apache.catalina.core.StandardEngineValve?.invoke(StandardEngineValve?.java:118)
at org.apache.catalina.connector.CoyoteAdapter?.service(CoyoteAdapter?.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol?$AbstractConnectionHandler?.process(AbstractProtocol?.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor?.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor?.runWorker(ThreadPoolExecutor?.java:1145)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:615)
at java.lang.Thread.run(Thread.java:744)

comment:3 Changed 8 years ago by car031

You should correctly define your GDocs credentials in your profile: Tools->Google Docs->Google Account.
Then enter your GDocs in order to create all needed cookies in your browser.
Then exit GDocs, and enter LogicalDOC again and try to create a .doc document.

comment:4 Changed 8 years ago by jkenyon

Performed the steps you listed and got the same result.
Also performed these steps a second time after clearing cookies, with the same result.

comment:5 Changed 8 years ago by car031

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.