Unable to Add a Label to an Attachment

お困りですか?

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

コミュニティに質問

症状

atlassian-confluence.log に次のメッセージが表示される。

2014-07-04 14:12:16,842 ERROR [http-apr-8080-exec-10] [confluence.ui.rest.LoggingExceptionMapper] toResponse Exception while processing REST request: 
Hibernate operation: could not insert: [com.atlassian.confluence.labels.Labelling#37289987]; SQL []; Column 'CONTENTID' cannot be null;
 nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'CONTENTID' cannot be null

原因

 In this case, labeling does not mean the label table. It means the content_label table.

ソリューション

  • Please ensure that you backup your database before making any modifications

  • Run the following query against the database:

    alter table content_label modify contentid bigint(20) null ;

    (warning) If you are unsure of the database connection parameters, refer to How to find Confluence's database connection parameters.

最終更新日: 2016 年 2 月 26 日

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

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