User is unable to add an Existing Calendar in My Calendars page

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

User is trying to add an existing calendar as described in Create, Add, and Edit Calendars, but despite being able to search for it, nothing happens after clicking Add

環境

Confluence 7.19.X and earlier versions
Confluence 8.1.X

診断

This issue is related to certain UUID values containing multiple digit-only segments. Hence, to confirm if your user is affected by this issue, it is needed to review the UUID associated with this user's subscriptions. 

SELECT user_key FROM user_mapping WHERE lower_username = '<username>';
SELECT *
FROM "AO_950DC3_TC_SUBCALS" tc
LEFT JOIN "user_mapping" um ON um."user_key" = tc."CREATOR"
WHERE um."user_key" = '<user_key_from_query1>'
AND "PARENT_ID" IS NULL AND "SUBSCRIPTION_ID" IS NOT NULL
ORDER BY 1,2

As an example, if the previous query retrieves the following three IDs, it is noticeable that Calendar2 has an UUID value which consist of multiple consecutive digit-only segments:

  • d0e49560-b080-4543-b874-84b773cab3a6 (Calendar1)
  • d980d7cc-66ac-4286-8826-7ad1290fce98 (Calendar2)
  • 1a787934-97ce-449c-9ac6-90b0828ed2fd (Calendar3)

原因

The problem is that Team Calendars cannot return the correct calendars for certain UUIDs even though they exist in the DB. This causes certain calendars to be inaccessible to certain users or groups of users. It can also cause affected calendars to be uneditable.

Further information is available in bug: 

CONFSERVER-81477 - Getting issue details... STATUS

Please check our KB article A specific calendar disappears when adding another Calendar in My Calendars page as a different side effect of this same bug when the user is the Creator of the affected Calendar

ソリューション

The only solution that guarantees not to reproduce the issue anymore is to upgrade your instance to Confluence 8.2.0 or later version. 

回避策

It's possible to forcefully recreate the affected user's subscriptions in an attempt to get an unaffected ID, however, there is no guarantee that the issue will not reoccur afterwards.

The new subscriptions might generate new UUIDs which consist of a multiple consecutive digit-only segments, which will trigger the bug once more. The workaround can be executed multiple times until all the UUIDs are valid, but this does not prevent either that future subscriptions trigger the issue again. 


Always Backup your data before performing any modifications to the database. If possible, test any ALTER, INSERT, UPDATE or DELETE SQL statements on a staging server first.


  1. Generate an up-to-date backup of the user's Calendar data by saving the current calendar subscription information for this user on a .csv file:

    SELECT user_key FROM user_mapping WHERE lower_username = '<username>';
    SELECT * FROM OS_PROPERTYENTRY WHERE entity_name = 'USERPROPS-<user_key_from_query1>' AND entity_key = 'calendar'; 
    SELECT * FROM "AO_950DC3_TC_SUBCALS" WHERE "CREATOR" = '<user_key_from_query1>' AND "SUBSCRIPTION_ID" IS NOT NULL;
  2. Confluence をシャットダウンします。
  3. Delete all the data regarding this user's Team Calendar subscriptions: 

    SELECT user_key FROM user_mapping WHERE lower_username = '<username>';
    DELETE FROM OS_PROPERTYENTRY WHERE entity_name = 'USERPROPS-<user_key_from_query1>' AND entity_key = 'calendar';
    DELETE FROM "AO_950DC3_TC_SUBCALS" WHERE "CREATOR" = '<user_key_from_query1>' AND "SUBSCRIPTION_ID" IS NOT NULL;
  4. 変更をコミットする。 
  5. Confluence を起動します。
  6. Ask the user to manually resubscribe to the Team Calendars through the Confluence UI
    (warning) If the user encounters an error when attempting to subscribe to calendars, it might be necessary for them to create a calendar first, and then attempt to subscribe to existing calendars again.



最終更新日: 2023 年 12 月 22 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.