Closed maiga-soluciones closed 2 weeks ago
Hi, it seems that the table linked to your model does not exists in the db, have you used the --nodb
option when generating the datatable ?
See the documentation :
Defining a model as data source will automatically scan the database to define the visible fields as datatable columns. You can avoid this scan by using the --nodb option, in this case the generator will only use the fields declared in the model class.
However, I should take into account the exception if no table is found to display a more meaningful message. I'll make a note of it for future development.
Hi sebastienheyd:
The table contains data and the model is valid.
I'll send a MR with the change done to fix this issue, as I did a modification to make this work.
When trying to run the generate datatable, the followin error appears:
This is trigerred by the following exception: