Gmail 上下文小工具坏了

Gmail contextual gadget broken

最近几天 Gmail 上下文小工具 似乎出现了问题,它使用 messageID extractor.This 小工具在我们的生产 Gmail 环境中一直有效几年了,但现在它似乎坏了,可能是由于 Google 方面的一些意外变化。我在两个不同的域中对其进行了测试,但它无法正常工作。

会发生什么:

有没有类似经历的人? 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&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 那里得到了关于周五建议修复的答复。这是他们所说的。


Thanks for your patience.

Please read below for updates on the status of your issue:

Updates since last message:

We have already identified the potential culprit and the fix for it is planned to go live this Friday.

We'll provide another update after the resolution of this issue has been fully confirmed.

If you have any questions about your case, you can reply to this message and a support agent will follow up with you. If you no longer think this is your issue, please click the link below so that we can continue working with you to identify your issue:


只是为了确认 - 今天我们的域已修复(周六早上...周五未修复,但今天确实有效)。我不得不通过 Google 支持将问题升级 - 不确定这是否改变了什么,但现在我们又有了小工具。