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

Importing an existing realm configuration is not working in 8.0.2

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 8.0.2
    • Fix Version/s: 9.0.0
    • Component/s: Import/Export
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      • export a realm configuration from keycloak 8.0.1
      • install a new keycloak instance with v 8.0.2
      • import this realm configuration when booting the server, with KEYCLOAK_IMPORT parameter (docker) to specify the file to import
        -> a NullPointerException occurs and is visible is the logs.
      Show
      export a realm configuration from keycloak 8.0.1 install a new keycloak instance with v 8.0.2 import this realm configuration when booting the server, with KEYCLOAK_IMPORT parameter (docker) to specify the file to import -> a NullPointerException occurs and is visible is the logs.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Using an exported realm configuration (json file) from keycloak 8.0.1 cannot be imported at server startup in a fresh install of keycloak 8.0.2 : a NullPointerException is raised in the logs.
      I expect that there would not be no breaking change preventing importing a config file from 8.0.1 to 8.0.2, as this is a minor version upgrade.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stianst Stian Thorgersen
                  Reporter:
                  melocotton Sebastien Houver Sing
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: