When full-text search is performed on a table with grouped rows, FTS tooltips building fails because ItemDescriptionGenerator "itemId" input param is com.haulmont.cuba.gui.data.GroupInfo instance (see com.haulmont.cuba.web.gui.components.WebFilterHelper.initTableFtsTooltips method).
GroupInfo class is not Serializable so this instance cannot be passed to HitInfoLoaderService.loadHitInfos service method.
com.haulmont.cuba.core.sys.serialization.SerializationException: Failed to serialize object
at com.haulmont.cuba.core.sys.serialization.StandardSerialization.serialize(StandardSerialization.java:36) ~[cuba-global-7.2.10.jar:7.2.10]
at com.haulmont.cuba.core.sys.serialization.StandardSerialization.serialize(StandardSerialization.java:80) ~[cuba-global-7.2.10.jar:7.2.10]
at com.haulmont.cuba.core.sys.serialization.SerializationSupport.serialize(SerializationSupport.java:67) ~[cuba-global-7.2.10.jar:7.2.10]
at com.haulmont.cuba.web.sys.remoting.LocalServiceProxy$LocalServiceInvocationHandler.invoke(LocalServiceProxy.java:134) ~[cuba-web-7.2.10.jar:7.2.10]
at com.sun.proxy.$Proxy74.loadHitInfos(Unknown Source) ~[na:na]
at com.haulmont.fts.app.FtsFilterHelperBean.buildTableTooltip(FtsFilterHelperBean.java:115) ~[fts-gui-7.2.10.jar:7.2.10]
at com.haulmont.cuba.web.gui.components.WebFilterHelper.lambda$null$2(WebFilterHelper.java:311) ~[cuba-web-7.2.10.jar:7.2.10]
at java.util.HashMap.computeIfAbsent(HashMap.java:1127) ~[na:1.8.0_212]
at com.haulmont.cuba.web.gui.components.WebFilterHelper.lambda$null$95fe0ab3$1(WebFilterHelper.java:309) ~[cuba-web-7.2.10.jar:7.2.10]
at com.vaadin.v7.ui.Table.paintRowTooltips(Table.java:3959) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.v7.ui.Table.paintRowAttributes(Table.java:4009) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.v7.ui.Table.paintRow(Table.java:3896) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.v7.ui.Table.paintRows(Table.java:3730) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.v7.ui.Table.doPaintContent(Table.java:3309) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.v7.ui.Table.paintContent(Table.java:3275) ~[vaadin-compatibility-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.haulmont.cuba.web.widgets.CubaTable.paintContent(CubaTable.java:1086) ~[cuba-web-widgets-7.2.10.jar:na]
at com.haulmont.cuba.web.widgets.CubaGroupTable.paintContent(CubaGroupTable.java:92) ~[cuba-web-widgets-7.2.10.jar:na]
at com.vaadin.server.LegacyPaint.paint(LegacyPaint.java:65) ~[vaadin-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.server.communication.LegacyUidlWriter.write(LegacyUidlWriter.java:82) ~[vaadin-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.server.communication.UidlWriter.write(UidlWriter.java:158) ~[vaadin-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
at com.vaadin.server.communication.AtmospherePushConnection.push(AtmospherePushConnection.java:164) ~[vaadin-server-8.9.2-16-cuba.jar:8.9.2-16-cuba]
... 40 common frames omitted
Caused by: java.io.NotSerializableException: com.haulmont.cuba.gui.data.GroupInfo
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) ~[na:1.8.0_212]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[na:1.8.0_212]
at com.haulmont.cuba.core.sys.serialization.StandardSerialization.serialize(StandardSerialization.java:34) ~[cuba-global-7.2.10.jar:7.2.10]
Environment
Platform version: 7.2.10
Client type: Web
Browser: Chrome
Database: PostgreSQL
Operating system: Windows
Expected behavior: Don't build FTS tooltips for grouped rows
When full-text search is performed on a table with grouped rows, FTS tooltips building fails because ItemDescriptionGenerator "itemId" input param is com.haulmont.cuba.gui.data.GroupInfo instance (see com.haulmont.cuba.web.gui.components.WebFilterHelper.initTableFtsTooltips method). GroupInfo class is not Serializable so this instance cannot be passed to HitInfoLoaderService.loadHitInfos service method.
Environment
Platform version: 7.2.10
Client type: Web
Browser: Chrome
Database: PostgreSQL
Operating system: Windows
Expected behavior: Don't build FTS tooltips for grouped rows