Legacy Knowledge Base
Published Jul. 2, 2025

Filter By Field is not working for Booleans in Asset Publisher

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

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.

Issue

  • Steps to reproduce:
    1. Create a structure with two fields(text and boolean) and also create a template for it in a Global site.
    2. Go to "Liferay DXP" site and create two new WebContents with previous structure and check the boolean for the first one and leave uncheck for the second one.
    3. Drop an Asset Publisher on page, and configure it to show Web Content Article > Asset Filter. Now, check the option for "Filter by field" and select a new field.
    4. In the field selector screen, click on the boolean, checked it and apply to save it.

    Expected Behavior: The boolean is showed on the configuration screen as "Yes".
    Actual Behavior: The boolean is showed on the configuration screen as "No". If we open again the field selector screen we will see the boolean field is unchecked.

Environment

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

Resolution

  • The observed behavior is a known issue/bug.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base