Legacy Knowledge Base
公開されました Jun. 30, 2025

設定に関係なく、すべてのファイル拡張子を受け入れるドキュメントとメディアから画像を編集します。

Written By

Apsara Raheja

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.

問題

  • 無効な拡張子ドキュメントは、有効な拡張子名でアップロードされます。
  • 再現の手順

    1. Liferay DXP 7.4 を起動します。
    2. コントロールパネル > システム設定 > Documents and Media > Service に移動します。
    3. ファイル拡張子」から * を削除し、ファイル拡張子に .png と .jpg を追加する。
    4. Site Menu > Content and Data > Document and Media > Addボタンをクリックし、「File Upload」を選択する。
    5. .png画像をアップロード > 公開する。
    6. 次に、この同じファイルを編集し、「.json」ファイルをアップロードする。
    7. Publishをクリックする。

  • 観察された動作: ユーザーは、ファイル拡張子に記載されていないJSONファイルをアップロードできる。

  • 期待される動作: ファイルをアップロードできず、UIエラーが投げられること。

環境

  • Liferay DXP 7.4

解像度

  • 観測された動作は既知のバグであり、 LPS-197132を介して対処されています。
  • この問題にHotfixが必要な場合は、パッチの詳細を添付してHotfixをリクエストするサポートチケットを作成してください。
  • Installing Fix Packs and Hotfixes on Liferay DXP このHotfixをそれぞれの環境にインストールする方法を説明します。

追加情報

  • 観察された行動



  • 期待される行動

Did this article resolve your issue ?

Legacy Knowledge Base