Legacy Knowledge Base
公開されました Jul. 2, 2025

LAR インポートが無効なファイル名のエラーで失敗する

Written By

Rafael Regner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • [ドキュメントとメディア] メニューを使用して、ある環境から別の環境にドキュメントを移動しようとしています。
  • ドキュメントを本番環境から正しくエクスポートできましたが、QA 環境にインポートすると、次のエラーがスローされました。
    An unexpected error occurred with the publication process. Check your publishing and portal settings.
    model.resource.com.liferay.portal.repository.liferayrepository.model.LiferayFileEntry: Virtual Act: Infrastructure Board Committee. Session N° 03_2021 could not be imported due to the following error: Invalid file name Virtual Act: Infrastructure Board Committee. Session N° 03_2021.pdf

Environment

  • Liferay DXP 7.1

解決策

  • ファイル名に次の文字を含めることはできません: \ / : * ? " < > |.
  • ファイル 仮想法: インフラストラクチャ ボード委員会。 セッション番号 03_2021.pdf には無効な文字 :が含まれているため、 Invalid file name エラー メッセージが表示されます。
  • このファイルを Documents and Media から一時的に削除し、 : 文字を削除して名前を変更してから、ポータルに再度アップロードしてください。
  • このようにして、ドキュメントのエクスポート/インポートを実行できます。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base