【问题标题】:Gmail contextual gadget brokenGmail 上下文小工具损坏
【发布时间】: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&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>

【问题讨论】:

  • 我可以确认这个问题。并非应用程序域中的所有用户都受到影响。它于昨天 2016 年 6 月 29 日开始,现在越来越多的用户错过了他们的小工具。我尝试使用相同的文件和不同的提取器设置一个新的 console.cloud.google.com 项目,但这似乎没有帮助。新窗口解决方法虽然有效。在新窗口中打开邮件后,正常视图也适用于该邮件。
  • 是的,我们无法看到不同的域和域内的用户受到不同影响的模式。在新窗口中打开有效 - 谢谢
  • 在 Gmail 支持论坛中查看我的 parallel discussion - 这似乎是一个普遍问题,需要 Google 解决。
  • 嗨 Marek - 今天为你解决了这个问题吗?

标签: gmail-contextual-gadgets


【解决方案1】:

我今天收到了 Google 的答复,内容是周五提出的修复建议。这是他们所说的。


感谢您的耐心等待。

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

自上次消息以来的更新:

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

我们将在此问题解决后提供另一个更新 已完全确认。

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


只是为了确认 - 今天我们的域已修复此问题(周六早上...周五未修复,但今天确实有效)。我不得不将问题上报给 Google 支持 - 不确定这是否改变了任何东西,但现在我们又有了小工具。

【讨论】:

  • 感谢您的信息,我会迫不及待地等待星期五。
  • 现在好像又坏了。一位客户报告说新窗口解决方法也停止工作。一切看起来都井井有条,只是小工具没有显示。
  • @cist 是的,它确实比以前更坏了。已向 Google 提出请求。我们将需要寻找替代方案,因为这太不可靠了。
  • 它似乎从 2016 年 8 月 15 日星期一开始再次工作......并不完全可靠。感谢您的确认。
  • 是的 - Google 确认已修复。显然是 Gmail 用户界面更改问题。
猜你喜欢
  • 1970-01-01
  • 2015-07-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-08-13
  • 1970-01-01
相关资源
最近更新 更多