Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-6059

Groups page crash for renamed realms

    Details

    • Steps to Reproduce:
      Hide

      Login to administration console, create a realm, rename it, click on 'Groups'.

      Show
      Login to administration console, create a realm, rename it, click on 'Groups'.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      After migration from keycloak 3.2.1 to 3.4.1 we can no longer manage groups in one of our realms. When clicking at 'Groups' in the administration console I get a 'Resource not found...' page.
      It seems to be caused by invalid REST requests to load the groups. The requests are send to urls with the realms id instead of its name:

      • auth/admin/realms/ {realm.id}/groups/count?top=true
        * auth/admin/realms/{realm.id}

        /groups?first=0&max=20

      I replaced in 'themes/base/admin/resources/js/controllers/groups.js' both occurrences of 'realm.id' with 'realm.realm'. That seems to fix the problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stianst Stian Thorgersen
                Reporter:
                thecepe Christian Thiel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: