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

NPE in Console when on an empty search term for user assignment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: console
    • Labels:
      None

      Description

      When creating a group in the console, click on "Dynamic User Assignment". and "+". If you don't enter any values but instead keep on hitting "next" you get an NPE when trying to create the group:

      java.lang.NullPointerException: null
      at org.apache.syncope.client.console.panels.search.SearchUtils.buildFIQL(SearchUtils.java:208) ~[syncope-client-console-2.0.2.jar:2.0.2]

      Instead an error message should be displayed or else maybe the empty search term could be discarded.

        Attachments

          Activity

            People

            • Assignee:
              fmartelli fabio martelli
              Reporter:
              coheigea Colm O hEigeartaigh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: