Gmail上下文小工具已损坏

Mar*_* B. 10 gmail-contextual-gadgets

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

怎么了:

  • 上下文小工具的窗口未显示在Gmail主界面中

  • 但是当在单独的窗口中打开消息时(通过按
    Shift并单击消息),小工具加载良好 - 此过程可用作变通方法,但它不是最佳的

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

有没有类似经历的人?谷歌方面的一些变化或技术问题的任何信息?

Chrome JS控制台不会显示任何错误.

主界面中的行为 - NOOK

单独窗口中的行为 - 确定

注册小工具的清单如下所示:

    <?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>
Run Code Online (Sandbox Code Playgroud)

PNC*_*PNC 8

我今天得到了Google的一个答案,就周五提出的修复建议.这是他们所说的.


谢谢你的耐心.

请阅读以下有关您的问题状态的更新:

自上次消息以来的更新:

我们已经确定了潜在的罪魁祸首,并计划在本周五上线.

在完全确认此问题的解决方案后,我们将提供另一个更新.

如果您对自己的案件有任何疑问,可以回复此邮件,支持代理将与您联系.如果您不再认为这是您的问题,请点击以下链接,以便我们继续与您合作以确定您的问题:


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