Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide proper error message for missing URL with Keycloak Admin client bean #29772

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Dec 9, 2022

I ran into this when looking at #29712. Without this change, users are presented with a totally misleading ContextNotActiveException

Edit

Fixes: #29958

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

Nice. Very minor but let's get Keycloak's case right.

…nt bean

Co-authored-by: Guillaume Smet <guillaume.smet@gmail.com>
@geoand geoand force-pushed the keycloak-admin-cdi branch from a852ecc to eb7f003 Compare December 9, 2022 10:05
@geoand
Copy link
Contributor Author

geoand commented Dec 9, 2022

Good catch! Fixed :)

@geoand
Copy link
Contributor Author

geoand commented Dec 9, 2022

#29773 is also related

@quarkus-bot
Copy link

quarkus-bot bot commented Dec 9, 2022

Failing Jobs - Building eb7f003

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 18

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

Good for me but probably better to let @sberyozkin have the final say.

Copy link
Member

@sberyozkin sberyozkin left a comment

Choose a reason for hiding this comment

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

Thanks @geoand

@sberyozkin sberyozkin merged commit 24aeefd into quarkusio:main Dec 9, 2022
@quarkus-bot quarkus-bot bot added this to the 2.16 - main milestone Dec 9, 2022
@sberyozkin
Copy link
Member

Thanks @gsmet for the review 👍

@geoand
Copy link
Contributor Author

geoand commented Dec 9, 2022

🙏🏼

@geoand geoand deleted the keycloak-admin-cdi branch December 9, 2022 10:50
@gsmet gsmet modified the milestones: 2.16 - main, 2.15.1.Final Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue using keycloak admin client
3 participants