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

If there are no roles in edit user modal page is possible to create membership between root (fake) role and user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.8, 1.2.0-M1
    • 1.1.8, 1.2.0-M1
    • console
    • None

    Description

      1) start Syncope in embedded mode and delete all roles or deploy syncope project with empty (default) content.xml
      2) log into console and create an user.
      3) go under roles tab in user modal page and click on empty role (the only displayed), a membership modal window is shown.
      4) click on save button and you'll notice a NullPointerException.
      This is due to the fact that, if there are no roles, in edit user modal page is possible to create membership between root (fake) role (the one with id 0) and user and this is incorrect because root role is not useful for creating a membership.

      Attachments

        Activity

          People

            andrea.patricelli Andrea Patricelli
            andrea.patricelli Andrea Patricelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: