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

jpa-changelog-8.0.0.xml contains whitespace character that generates issues

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 8.0.0, 8.0.1, 8.0.2
    • Fix Version/s: 9.0.2
    • Component/s: Database
    • Labels:
    • Steps to Reproduce:
      Hide

      1- Create a Spring Boot wrapper to start a Keycloak instance
      2- use Spring Boot 2.2.3
      3- Start the service

      Show
      1- Create a Spring Boot wrapper to start a Keycloak instance 2- use Spring Boot 2.2.3 3- Start the service
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The jpa-changelog-8.0.0.xml has a whitespace in the FED_CREDENTIAL_ATTRIBUTE dropTable entry:
      https://github.com/keycloak/keycloak/blob/master/model/jpa/src/main/resources/META-INF/jpa-changelog-8.0.0.xml#L201
      Even though it's not a critical issue, it might cause some issues.

      For instance, I'm starting a Keycloak server wrapped in a Spring Boot application, and everything was working just fine until I migrated to Spring Boot 2.2.3. I'm not sure what changed in this patch version that makes this fail, and I know this is not a common case scenario, but the fix should be simple.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vramik Vlasta Ramik
                  Reporter:
                  rozagerardo gerardo roza
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: