Gmail上下文小工具坏了



在过去的几天里,使用messageID提取器的Gmail上下文小工具出现了一个问题。这个小工具在我们的生产Gmail环境中已经运行了几年,但现在它似乎坏了,可能是由于谷歌方面的一些意想不到的变化。我在两个不同的域中测试了它,它不能正常工作。

会发生什么:

  • 上下文小工具的窗口没有出现在主Gmail中界面

  • 但是当消息在一个单独的窗口打开时(通过按
    )Shift并点击消息)小工具加载良好-此过程

  • 有时(很少)小工具甚至在邮件中神秘地出现
    Gmail界面,但过了一段时间它又停止工作了

有类似经历的人吗?谷歌方面有什么变化或技术问题吗?

Chrome JS控制台没有显示任何错误。

主界面行为- NOOK

单独窗口中的行为- 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&amp;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>

我今天从Google那里得到了一个关于周五的修复建议的答案。以下是他们所说的。


感谢您的耐心等待。

请阅读以下内容以了解您的问题的最新状态:

自上次消息以来的更新:

我们已经确定了潜在的罪魁祸首和解决办法计划本周五上线

我们将在此问题解决后提供另一个更新

如果你对你的案子有任何疑问,你可以回复这个Message和一个支持代理将会跟进。如果你不再认为这是你的问题,请点击下面的链接,以便我们可以继续与您合作以确定您的问题:


只是确认-这是修复我们的域名今天(周六上午…星期五没有修好,但今天确实在工作)。我不得不向谷歌技术支持升级这个问题——不确定这是否改变了什么,但现在我们又有小工具了。

最新更新