Skip to content

Fix NPEs during realm import#10962

Merged
mposolda merged 1 commit intokeycloak:mainfrom
andreaTP:fix-npes
Mar 29, 2022
Merged

Fix NPEs during realm import#10962
mposolda merged 1 commit intokeycloak:mainfrom
andreaTP:fix-npes

Conversation

@andreaTP
Copy link
Copy Markdown
Contributor

Resolves #10961

@andreaTP andreaTP requested review from mposolda and vmuzikar March 28, 2022 09:51
Copy link
Copy Markdown
Contributor

@vmuzikar vmuzikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably add some test for the fixed NPEs.

@andreaTP
Copy link
Copy Markdown
Contributor Author

@vmuzikar would you like to indicate an already available test that I can expand to cover those cases?

@vmuzikar
Copy link
Copy Markdown
Contributor

@andreaTP
Copy link
Copy Markdown
Contributor Author

@vmuzikar added a test in ExportImportTest.java let see if the CI is happy 🙂

@andreaTP andreaTP force-pushed the fix-npes branch 2 times, most recently from 44bb6c0 to ea55106 Compare March 28, 2022 17:46
Copy link
Copy Markdown
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andreaTP Thanks! PR looks good, I've added only one minor comments regarding removing some uneeded mess from JSON.

@mposolda mposolda self-assigned this Mar 29, 2022
@andreaTP
Copy link
Copy Markdown
Contributor Author

@mposolda addressed your comment and squashed commits. Ready for another check.

Copy link
Copy Markdown
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andreaTP Thanks!

@mposolda
Copy link
Copy Markdown
Contributor

@andreaTP @vmuzikar Thanks for the changes and review!

@mposolda mposolda merged commit da5db5a into keycloak:main Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Various NPEs using the realm create REST API

3 participants