[ https://issues.apache.org/jira/browse/SYNCOPE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401771#comment-15401771 ]
ASF subversion and git services commented on SYNCOPE-908: --------------------------------------------------------- Commit c533ba9f882bb3fba6171c4a807582cbfc39d5ff in syncope's branch refs/heads/master from [~fmartelli] [ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=c533ba9 ] [SYNCOPE-908] directory panel cast 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)