Hello,
When I trie to define the following route :
@UiController("ContractHistory.edit")
@UiDescriptor("contractHistory-edit.xml")
@EditedEntityContainer("contractHistoryDc")
@Route(path ="param/supplier/contrat", parentPrefix = "param/supplier")
java.lang.IllegalArgumentException: Unable to serialize id 'com.company.uniperbrmt.entity.key.ContractHistoryCompKey@3b9a50fa' of type 'class com.company.uniperbrmt.entity.key.ContractHistoryCompKey'
at io.jmix.ui.navigation.UrlIdSerializer.serializeId(UrlIdSerializer.java:65)
at io.jmix.ui.navigation.WebUrlRouting.buildParams(WebUrlRouting.java:267)
at io.jmix.ui.navigation.WebUrlRouting.buildNavState(WebUrlRouting.java:158)
at io.jmix.ui.navigation.WebUrlRouting.updateState(WebUrlRouting.java:124)
at io.jmix.ui.navigation.WebUrlRouting.pushState(WebUrlRouting.java:90)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....
I got the following error and I don’t know how to resolve it, any ideas?
Regards,
Thomas