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

Datasets Are Not Displayed After Upgrading to DXP 2025.Q2

written-by

Tímea Bihari

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

Issue

  • After upgrading to DXP 2025.Q2, existing Datasets are not displayed on pages.
  • The Dataset fragment may appear collapsed when editing the page but is not rendered for users.
  • Newly created Datasets are displayed correctly.

Environment

  • Liferay DXP 2025.Q2

Resolution

The root cause of this issue is the introduction of a new boolean field named active for Datasets in version 2025.Q2. During the upgrade process, this field is not automatically set for datasets created in previous versions. Since the rendering logic now depends on this field, the older datasets are considered inactive and are not displayed.

To resolve this, you must run a Groovy script to update the existing datasets. Follow these steps:

  1. Important: Before proceeding, create a backup of your database. It is highly recommended to test this script in a non-production environment first.
  2. Navigate to Control Panel > Server Administration > Script.
  3. Select Groovy as the language and execute the attached script.
  4. After the script has been executed successfully, perform a full reindex. Navigate to Control Panel > Search > Index Actions and click Execute on the "Reindex all search indexes" action.

Once the reindex is complete, the existing datasets will be displayed correctly on the pages.

 

did-this-article-resolve-your-issue

legacy-knowledge-base