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

Exception when searching for any object to fill relationship

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M4
    • Fix Version/s: 2.0.0.M5
    • Component/s: console
    • Labels:
      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

            • Assignee:
              fmartelli fabio martelli
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: