DataTables warning - requested unknown parameter

104 views
Skip to first unread message

Navarrano

unread,
Jun 16, 2015, 8:15:53 AM6/16/15
to light...@googlegroups.com
Hi,
I'm using LightAdmin to scaffold view for two entities that are connected with ManyToMany relation. Whenever I'm accessing list view of the entity A that holds relation I'm getting "DataTables warning (table id="listViewTable"): Requested unknown parameter {mData function} from the data source for the row X" if there are no records related with any of the entities shown in this list view. Is there a quick fix for that?

Thanks in advance!

Irina Kostenko

unread,
Jun 18, 2015, 10:27:57 AM6/18/15
to light...@googlegroups.com
Hi Navarrano,

In order to help us reproduce the issue, could you please provide us with the class declarations of both entities? 

Best regards,
Iryna

Irina Kostenko

unread,
Jun 25, 2015, 3:57:49 PM6/25/15
to light...@googlegroups.com
Hi Navarrano,

One of the causes of the described issue might be absence of getters for an entity fields.

Could you please check if adding getters for each entity field resolves your issue? 

Best regards, 
Iryna Kostenko

TA

unread,
Sep 30, 2015, 3:53:06 PM9/30/15
to Light Admin Group
I'm getting this same error when returning to the Customers list view from the sandbox app from 1.2.0. 
Reply all
Reply to author
Forward
0 new messages