jaxio / celerio-angular-quickstart

Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Apache License 2.0
479 stars 138 forks source link

Cannot read property "" of undefined in case of nullable relation #21

Closed achablowski closed 7 years ago

achablowski commented 7 years ago

Hello,

I'm trying to use your framework but I have a big problem with the grid included into the generated "template-list" Example : The Car entity has an optional relation with Color entity, and I want to display a "Color column" in my grid. If the relation is null, then I get a javascript error "Cannot read property "color" of undefined". I would like to have an empty value or a default value for the column, is it possible ? I tried to change the configuration into celerio-maven-plugin.xml but impossible to find any solution.

Best Regards

nromanetti commented 7 years ago

good catch BTW... thanks 👍