Space or Site imports fail when URLs in import file are longer than 255 characters
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When importing a space or site which contains URLs longer than 255 characters, the following error is encountered:
ERROR [Long running task: Importing data] [engine.jdbc.spi.SqlExceptionHelper] logExceptions Data truncation: Data too long for column 'LOWERURL' at row 1
ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.DefaultImportProcessor] persist Error while saving object: Imported[com.atlassian.confluence.links.ReferralLink] [Id[id]=75925448, Property[viewCount]=1, Property[url]=<URL>[lowerUrl]=<URL>原因
Currently the EXTRNLNKS and TRACKBACKLINKS tables use a VARCHAR 255 data type for URL and and LOWERURL columns.
回避策
Edit the import file and shorten/remove URLs longer than 255 characters or increase the data storage type up from 255.
機能リクエスト
There is a suggestion logged to request Confluence support the storage of longer URLs, please see CONFSERVER-58754 - support for storing URLs longer than 255 characters
この内容はお役に立ちましたか?