[GH #7236] [8.0.0] migration getSourceData on tables with nested rows returns extraneous row

Tags: #<Tag:0x00007f0b0c2f2858>

Using the rock album nested row example if I modify the data to a single null entry.

sourceDataObjectNull = [
{
category: null,
artist: null,
title: null,
label: null,
__children: [
{
title: null,
artist: null,
label: null
}]
}]

When logging the getSourceData from 7.4.2

[{“category”:null,“artist”:null,“title”:null,“label”:null,"__children":[{“title”:null,“artist”:null,“label”:null}]}]

When logging the getSourceData from 8.0.0 (why is there now an extra row?)

[{“category”:null,“artist”:null,“title”:null,“label”:null,"__children":[{“title”:null,“artist”:null,“label”:null}]},{“title”:null,“artist”:null,“label”:null}]

Thank you for sharing the scenario @davbro80129

In v8.0.0 we made some changes for the source data


src: https://handsontable.com/docs/8.0.0/tutorial-migration-guide.html

But know the children data seems to be duplicated. So I’ve reported the issue on our Github board https://github.com/handsontable/handsontable/issues/7236

I have asked our CTO to discuss the same with the team. I will update you as soon as I get any information on that subject.

Thanks for looking into the problem and reporting the issue.