legacy-knowledge-base
公開されました Sep. 10, 2025

空の文字列は、パラメーター マップで null と見なされます

written-by

Kanchan Bisht

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

問題

  • パラメータ マップ内の空の文字列が Null と見なされる特定の理由はありますか?
  • ステップを再現する:
    • com.mycompany.my.icefaces.portlet をデプロイします。 ポートレットには、フィルターを使用した例 <ace:datatable> があります。
    • com.mycompany.my.icefaces.portlet を Liferay ページに追加します。
    • データテーブルの結果をフィルター処理するには、テーブル ヘッダーのフィルター (例: jack) に何かを入力します。
    • フィルターに入力されたすべての文字を削除して、フィルターをクリアしてみてください。 次のコード行が原因で、フィルターがクリアされていないように見え、バックスペースが押されるたびに入力された文字が再表示されます: https://github.com/liferay/liferay-portal/blob/master/portal-impl/ src/com/liferay/portlet/internal/PortletRequestImpl.java#L1413
      予想される動作: フィルターをクリアする必要があります
      実際の動作: フィルターが期待どおりにクリアされません

Environment

  • Liferay DXP 7.3

解決策

  • これは既知の問題であり、詳細についてはこちらで追跡できます: LPS-133689

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base