Space Directory shows '$action.convertToNiceTeamLabel($teamLabel.getName())' for some categories

お困りですか?

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

コミュニティに質問

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

When viewing the Space Directory, some categories are appearing with '$action.convertToNiceTeamLabel($teamLabel.getName())'.

診断

Diagnostic Steps

Run the following database query in your Confluence database:

1. Verify if there is a label with empty name.

select * from LABEL where NAME is null and OWNER is null and NAMESPACE = 'team';
 

2. Verify if there is content associated to that label.

select * from CONTENT_LABEL where LABELID=<labelid_from_query_above>;
select TITLE from CONTENT where CONTENTID=<contentid>;
If the first query return any result, this may trigger the issue with label autocomplete in the affected pages as return in the second query

原因

The issue is caused by null labels. Verified by checking the result from the database query in the diagnostic step.

ソリューション

Please run the following database query in order to delete the null labels:

delete from CONTENT_LABEL where LABELID = <labelid_from_first_query>;
delete from LABEL where LABELID = <labelid_from_first_query>;

データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。


最終更新日 2019 年 9 月 4 日

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

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