You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having difficulties using this in a Table. I've tried to use 'field' => 'address.city', which results in an exception:
Association name expected, 'address' is not an association.
Using 'propertyPath' => 'address.city' works insofar as it doesn't throw an error but using 'orderField' => 'address.city' in conjunction with this causes the following exception:
[Semantical Error] line 0, col 154 near 'address.city': Error: 'address' is not defined.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, I used today an entity with embeddables, and I came to the same problem @beezischillin encountered. I fixed it the same way he did by using propertyPath instead of field. Maybe the main difference is I use FetchJoinORMAdapter.
For now, I'm not blocked, so it's mostly FYI. I would love to investigate on that, but I checked the code, and it's way above my skills on doctrine/symfony for now ;-)
Hi peeps!
I've been having issue with getting Doctrine Embeddables to work with the DataTables.
If I have an entity that has its address fields in an Address class
With the address class simply containing fields that describe an address
I'm having difficulties using this in a Table. I've tried to use 'field' => 'address.city', which results in an exception:
Using 'propertyPath' => 'address.city' works insofar as it doesn't throw an error but using 'orderField' => 'address.city' in conjunction with this causes the following exception:
Thank you!
The text was updated successfully, but these errors were encountered: