メッセージの抽出機を使用しているののGmailのコンテキストガジェットに問題が発生したようです。このガジェットは、数年間GoogleのGmail環境で機能していましたが、おそらくGoogle側の予期せぬ変更のために壊れているようだ。私は2つの異なるドメインでそれをテストし、正しく動作していません。Gmailのコンテキストガジェットが壊れた
何が起こる:
をコンテキストガジェットのウィンドウは、メインのGmail インタフェース
には表示されませんが、メッセージが
Shiftキーを押して、別のウィンドウ(で開かれたときメッセージをクリックするとガジェットがうまく読み込まれます)この処理は回避策として使用できますが、最適ではありません。は時々(めったに)ガジェットは、神秘的にも、メール
Gmailのインターフェースに表示されませんが、いくつかの時間後には再び
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>
この問題を確認できます。 appsドメイン内のすべてのユーザーが影響を受けるわけではありません。それは昨日2016年6月29日に始まり、ますます多くのユーザーがガジェットを紛失しています。私は、同じファイルと別の抽出プログラムで新しいconsole.cloud.google.comプロジェクトを設定しようとしましたが、それは役に立たなかったようです。しかし、新しいウィンドウの回避策は動作します。新しいウィンドウでメールを開いた後、通常のビューもそのメールに対して機能します。 – clst
はい、ドメイン内のさまざまなドメインやユーザーに異なるパターンが表示されます。新しいウィンドウで開く - このお返事ありがとうございます – PNC
Gmailのサポートで私の[並行討議](https://productforums.google.com/forum/#!topic/gmail/CGKSyMcNIXE;context-place=forum/gmail)をご覧くださいフォーラム - これは一般的な問題で、Googleの修正が必要です。 –