Documents List API Regression: Updating a document (with conversion) loses images

亡梦爱人 提交于 2020-01-01 07:38:09

问题


Something seems to have recently broken with the Google Docs conversion when using the documents list API. Updates made to existing document entries won't be converted into the Google Docs format correctly and images in the document will not appear.

Steps To Reproduce

  1. I have a .docx file that has a couple lines of text, and an image.

  2. Using the documents list API, I upload the file as a NEW entry (with conversion turned ON), and it works fine. I'm able to open the converted document in Google Docs and it looks fine.

  3. Next, using the documents like API, I upload the file again as an UPDATE to the original entry (with conversion turned on). Now when I open the converted document in Google Docs, the images are missing. There is a blank rectangle with a spinning busy indicator that appears where the images are supposed to be.

Additional Info

So the problem only happens when updating the existing entry. Files uploaded as brand new entries don't have this problem.

This must have broken within the last 24 hours or so...I have an existing app that was working fine, and now all the documents that it updates have their images missing. Did something get updated on the backend that caused this to break?

I've tested this with a variety of .docx and .doc files containing a variety of images.

PLEASE, HELP...this has been totally BROKEN for a week now. I'd just like to know if this is an issue that the engineers at Google are aware of and if someone is looking into it.

来源:https://stackoverflow.com/questions/12740610/documents-list-api-regression-updating-a-document-with-conversion-loses-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!