floratos-lab / geworkbench-web

geWorkbench web application - the evolution of geWorkbench project into the age of cloud computing.
3 stars 3 forks source link

tabular view - search not working #18

Closed zhouji2013 closed 10 years ago

zhouji2013 commented 10 years ago

In search box, type a character, exception is thrown: (I switched to a much earlier commit 3242017723726d3bbeaab29872baa16fa135251f and it has the same issue, so it is not caused by the recent data-flowing change)

Caused by: java.lang.IllegalArgumentException: PagedTable can only use containers that implement Container.Indexed at org.geworkbenchweb.utils.PagedTable.setContainerDataSource(PagedTable.java:236) at org.geworkbenchweb.plugins.TableMenuSelector$3$1.textChange(TableMenuSelector.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) ... 28 more

zhouji2013 commented 10 years ago

Other functions on tabular view also have problem. I will enter as separate issues.

zhouji2013 commented 10 years ago

The obviously exception was fixed. The error was introduced in commit bb84f17.

This also fixed the other problem (export), but the functionality of search and filtering is still not working.

zhouji2013 commented 10 years ago

mantis bug report 3658 related (happened after the change made for this issue)