Contact us

Contributions 1 min read

Table data type not using the table config fix

We've discovered a new bug - and now it's fixed! Check out how Dino, our Pimcore developer, fixed this issue and made sure that Table data types work as intended!

What was the issue?

When you define initial data for the Table data type, that data wouldn’t be loaded when you create a new object.

How did you solve it?

This was caused by a bug inside Javascript because the check was done on an empty array and the empty array is not a false value in Javascript. So I changed that check to a proper one.

Why is this fix important?

This is important because now the Table data type will work as it’s supposed to work and initial data is going to be loaded when creating a new object.

How does it feel to contribute to a platform such as Pimcore?

Contributing to Pimcore always feels awesome because it’s nice to contribute to the platform I use every day to make it better.

And if you want to check out this pull request, just follow the link!