Unable to View Page Due to 'Invalid page title'

お困りですか?

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

コミュニティに質問

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

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

*Fisheye および Crucible は除く

症状

A page cannot be displayed. The following appears both on the page and in the atlassian-confluence.log:

org.springframework.orm.hibernate.HibernateSystemException: Exception occurred inside setter of com.atlassian.confluence.pages.AbstractPage.title; nested exception is net.sf.hibernate.PropertyAccessException: Exception occurred inside setter of com.atlassian.confluence.pages.AbstractPage.title Caused by: net.sf.hibernate.PropertyAccessException: Exception occurred inside setter of com.atlassian.confluence.pages.AbstractPage.title at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:49) at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:229) 

診断

Look in the atlassian-confluence.log file. You'll find the name of the page contains an illegal character, like this snippet:

Caused by: com.atlassian.core.exception.InfrastructureException: Invalid page title: home/slash

(info) Note that page titles can not contain (':', '@', '/', '\', '|', '^', '#', ';', '[', ']', '{', '}', '<', '>') or start with ('$', '..', '~')

原因

An illegal page name was created. Currently the mechanism for creating an illegal page name is unknown.

ソリューション

  1. 次の SQL を実行します。

    SELECT CONTENTID FROM content WHERE TITLE = '<page title>';  
    UPDATE content SET TITLE = '<new title>' WHERE CONTENTID = '<id from above>';

    (info) Use the page ID from the first query in the second update statement.

  2. Rebuild the index























最終更新日: 2025 年 1 月 23 日

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

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