主版本不符合Google Docs格式的要求 [英] Head revision not working as intended for Google Docs formats

查看:100
本文介绍了主版本不符合Google Docs格式的要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于原生Google文档(可能适用于所有Google格式,我没有选中),请使用 revisions.get 方法返回第一个修订版本,而不是最新版本。它似乎只依赖于方法,并且该顺序并不是一致的(例如,Google文档列出了最新的第一个)。 像一个错误,我设法重现它。我向工程师报告了这个问题,我会尽快更新这个答案。



更新12/2:现在已修复,修复程序将会活在1-2周

For "native" Google documents (maybe it applies to all Google formats, I haven't checked), using head in the revisions.get method returns the first revision instead of the latest one. It seems that it only relies on the order of the revisions returned by the revisions.list method, and that order is not really uniform (e.g. a Google document lists the latest first).

解决方案

This looks like a bug, I managed to reproduce it. I reported it to the engineers and I'll update this answer as soon I hear back from them.

UPDATE 12/2: this is now fixed and the fix will be live in 1-2 weeks

这篇关于主版本不符合Google Docs格式的要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆