Existing DataGrid 2 widgets broken after widget upgrade - new ones work fine.

0
Hi,I'm facing an issue with the DataGrid 2 widget after a version upgrade and would appreciate any guidance.Here's the situation:- We have a main branch and a backup branch (created from the latest revision of main before any changes)- We upgraded the Data Widgets version in the main branch- After the upgrade, all existing DataGrid 2 widgets stopped rendering properly — they are no longer displaying in tabular form- Interestingly, if I add a brand new DataGrid 2 widget on any page in main, it renders correctly — only the existing ones on ~40 pages are broken- The backup branch works perfectly fineWhat I've already tried:- Downgrading the Data Widgets version back to the original in main → did not fix it- Exporting the DataGrid 2 widget from the backup branch and importing it into main → did not fix itWe're using Mendix 10.15.0 with Git-based version control. The app model is stored in a single .mpr file.My understanding is that when the widget was upgraded, Mendix may have auto-migrated the existing widget configurations inside the .mpr, causing a mismatch when the widget was downgraded. But I'm not sure how to fix this without losing other changes made in main after the backup was created.Has anyone faced this before?Thanks in advance!
asked
3 answers
0

Hi @Ashish Kumar 

This looks like a widget configuration migration issue caused during the upgrade of Data Widgets in Mendix Studio Pro.

When the Data Widgets module was upgraded, Mendix likely auto-migrated the internal configuration of existing DataGrid 2 widgets inside the .mpr. Because of this:

  • Existing DataGrid 2 widgets became incompatible or partially corrupted
  • Newly added DataGrid 2 widgets work fine (they use the updated schema)
  • Downgrading the module does not revert those internal changes

Suggestion:

  1. Update dependent modules (Important)

Make sure you update both:

  • Atlas Web Content module
  • Data Widgets module

2.Restore affected pages from backup branch (Recommended approach)

Since your backup branch is working:

  • Use Git to restore only the affected pages/snippets from the backup branch
  • This avoids losing other changes in main while recovering working widget configurations



answered
0

You are using a Mendix release that is no longer receiving updates. Consider upgrading to 10.24.16. Then you can update DataWidgets module to the latest releases, which require 10.24.0 or newer. This will solve this issue.

answered
0

Hi,

This behavior is most likely caused by a widget configuration migration issue that occurred during the Data Widgets upgrade.

When the Data Widgets module is upgraded, Mendix automatically updates (migrates) the internal configuration of existing widgets inside the .mpr file. Because of this:


  • Existing DataGrid 2 widgets may become incompatible or partially corrupted.
  • Newly added DataGrid 2 widgets work correctly since they use the updated configuration schema.
  • Downgrading the module does not revert these internal changes.


Recommended Actions

1. Ensure dependent modules are aligned

Make sure both of the following modules are updated and compatible:

  • Atlas Web Content
  • Data Widgets


2. Restore affected pages from the backup branch (most practical solution)

Since your backup branch is working correctly:

  • Use Git to restore only the affected pages/snippets containing the DataGrid 2 widgets.
  • This allows you to recover working configurations without losing other changes in your main branch.


3. Consider upgrading your Mendix version (long-term fix)

  • You are currently on Mendix 10.15.0, which is no longer actively maintained.
  • Upgrading to a newer version (e.g., 10.24.x) and then updating the Data Widgets module to the latest version can help resolve such issues and prevent similar problems.


answered