legacy-knowledge-base
公開されました Jun. 30, 2025

製品内の画像拡張機能が正しく動作しない

written-by

Pooja Bhambani

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

learn-legacy-article-disclaimer-text

問題

  • 再現の手順
    1. Commerce > Products に移動します。
    2. 簡単な商品を作成します。
    3. メディアに移動します。
    4. 任意のPDFを取り出し、その拡張子を「png」に変更する。
    5. 画像のアップロードでpngが受け入れられることを確認する。
    実際の結果 画像がアップロードされました。
    期待される結果 PDFファイルは許可されません。 拡張子だけでなく、ファイルの適切なタイプ(MIMEタイプ)をチェックすべきである。

Environment

  • Liferay DXP 7.4
  • コマース4.0

解決策

  • この現象はLiferay DXPの既知のバグであり、Liferay DXP 7.4 Update 82で修正されています。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base