Description
How to reproduce:
- edit an existing any object (PRINTER with test data)
- next to the Relationships tab
- add relationship
- select type ("neighborhood" with test data)
- select right type (PRINTER with test data)
- all PRINTER instances are shown
- click on the search box and provide any clause (say ATTRIBUTE key NOT NULL)
- click on the lens icon
At this point an exception is reported:
java.lang.ClassCastException: Cannot cast org.apache.syncope.client.console.panels.search.AnyObjectSelectionDirectoryPanel to org.apache.syncope.client.console.panels.AnyObjectDirectoryPanel at java.lang.Class.cast(Class.java:3186) at org.apache.syncope.client.console.wizards.any.Relationships$Specification.onEvent(Relationships.java:357)