Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-908

Exception when searching for any object to fill relationship

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0.M5
    • console
    • None

    Description

      How to reproduce:

      1. edit an existing any object (PRINTER with test data)
      2. next to the Relationships tab
      3. add relationship
      4. select type ("neighborhood" with test data)
      5. select right type (PRINTER with test data)
      6. all PRINTER instances are shown
      7. click on the search box and provide any clause (say ATTRIBUTE key NOT NULL)
      8. 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)
      

      Attachments

        Activity

          People

            fmartelli Fabio Martelli
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: