[
https://issues.apache.org/jira/browse/SYNCOPE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
fabio martelli resolved SYNCOPE-908.
------------------------------------
Resolution: Fixed
> Exception when searching for any object to fill relationship
> ------------------------------------------------------------
>
> Key: SYNCOPE-908
> URL: https://issues.apache.org/jira/browse/SYNCOPE-908
> Project: Syncope
> Issue Type: Bug
> Components: console
> Affects Versions: 2.0.0-M4
> Reporter: Francesco Chicchiriccò
> Assignee: fabio martelli
> Fix For: 2.0.0
>
>
> 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:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)