【发布时间】:2016-11-02 07:01:03
【问题描述】:
在过去的几天里,使用 messageID 提取器的 Gmail 上下文小工具似乎出现了问题。这个小工具已经在我们的生产 Gmail 环境中运行了几年,但现在它似乎被打破了,可能是由于谷歌方面的一些意外变化。我在两个不同的域中对其进行了测试,但它无法正常工作。
会发生什么:
上下文小工具的窗口未出现在主 Gmail 中 界面
但是当消息在单独的窗口中打开时(按
Shift 并单击消息)小工具加载良好 - 此过程 可以作为一种解决方法,但不是最佳的有时(很少)该小工具会神秘地出现在邮件中
Gmail 界面,但一段时间后又停止工作
有没有类似经历的人?有关 Google 方面的一些更改或技术问题的任何信息?
Chrome JS 控制台没有显示任何错误。
Behaviour in the main interface - NOOK
Behaviour in the separate window – OK
已注册小工具的清单如下所示:
<?xml version="1.0" encoding="UTF-8" ?>
<ApplicationManifest xmlns="http://schemas.google.com/ApplicationManifest/2009">
<!-- Support info to show in the marketplace & control panel -->
<Support>
<!-- URL for application setup as an optional redirect during the install -->
<!-- <Link rel="setup" href="http://cgitest.cz/google/setup.php?domain=${DOMAIN_NAME}" /> -->
<!-- URL for application configuration, accessed from the app settings
page in the control panel -->
<!--<Link rel="manage" href="http://cgitest.cz/google/admin.php?domain=${DOMAIN_NAME}" /> -->
<!-- URL explaining how customers get support. -->
<Link rel="support" href="http://cgitest.cz/google/support.php" />
<!-- URL that is displayed to admins during the deletion process,
to specify policies such as data retention, how to claim accounts, etc. -->
<Link rel="deletion-policy" href="http://cgitest.cz/google/deletion-policy.php" />
</Support>
<!-- Name and description pulled from message bundles -->
<Name>GSCS message ID Extractor</Name>
<Description>A simple Hello World application for testing
Gmail contextual gadgets</Description>
<!-- Show this link in Google's universal navigation for all users -->
<Extension id="navLink" type="link">
<Name>GSCS message ID Extractor</Name>
<Url>http://cgitest.cz/home.php?from=google&domain=${DOMAIN_NAME}</Url>
</Extension>
<!-- Declare our OpenID realm so our app is white listed -->
<Extension id="realm" type="openIdRealm">
<Url>http://cgitest.cz</Url>
</Extension>
<!-- EXTRACTOR -->
<!--<Extension id="HelloWorldExtractor" type="contextExtractor">
<Name>Hello World</Name>
<Url>google.com:HelloWorld</Url> -->
<!-- Uncomment this Param to apply a filter to the extractor's
default output. The example regexp below makes the match case sensitive. -->
<!-- <Param name="hello" value="H[a-z]* W[a-z]*"/> -->
<!-- <Triggers ref="GSCSContextGadget"/>
<Scope ref="emailSubject"/>
<Scope ref="emailBody"/>
<Container name="mail"/>
</Extension> -->
<Extension id="MessageIDExtractor" type="contextExtractor">
<Name>Message ID extractor</Name>
<Url>google.com:MessageIDExtractor</Url>
<!-- Uncomment this Param to apply a filter to the extractor's
default output. The example regexp below makes the match case sensitive. -->
<!-- <Param name="hello" value="H[a-z]* W[a-z]*"/> -->
<Triggers ref="GSCSContextGadget"/>
<Scope ref="messageID"/>
<Container name="mail"/>
</Extension>
<!-- GADGET -->
<Extension id="GSCSContextGadget" type="gadget">
<Name>Gmail contextual gadget</Name>
<Url>http://gscs.cgitest.cz/gadget/gscs-contextgadget.xml</Url>
<Container name="mail"/>
<!-- Uncomment this to enable Caja. -->
<!-- <Param name="caja" value="enabled"/> -->
</Extension>
<!-- SCOPE -->
<!-- <Scope id="emailSubject">
<Url>tag:google.com,2010:auth/contextual/extractor/SUBJECT</Url>
<Reason>This application searches the Subject: line of each email
for the text "Hello World."</Reason>
</Scope>
<Scope id="emailBody">
<Url>tag:google.com,2010:auth/contextual/extractor/BODY</Url>
<Reason>This application searches the message body of each email
for the text "Hello World."</Reason>
</Scope> -->
<Scope id="messageID">
<Url>tag:google.com,2010:auth/contextual/extractor/MESSAGE_ID</Url>
<Reason>Matches the Gmail frontend message id of the message (this is a 64-bit hexadecimal value, different from the RFC 822 Message-ID)
</Reason>
</Scope>
</ApplicationManifest>
【问题讨论】:
-
我可以确认这个问题。并非应用程序域中的所有用户都受到影响。它于昨天 2016 年 6 月 29 日开始,现在越来越多的用户错过了他们的小工具。我尝试使用相同的文件和不同的提取器设置一个新的 console.cloud.google.com 项目,但这似乎没有帮助。新窗口解决方法虽然有效。在新窗口中打开邮件后,正常视图也适用于该邮件。
-
是的,我们无法看到不同的域和域内的用户受到不同影响的模式。在新窗口中打开有效 - 谢谢
-
在 Gmail 支持论坛中查看我的 parallel discussion - 这似乎是一个普遍问题,需要 Google 解决。
-
嗨 Marek - 今天为你解决了这个问题吗?