Skip to content

Conversation

marko-bekhta
Copy link
Contributor

When Validator#validateValue() is called, then the root validation context won't have the root bean (i.e. it'll be null), but at the same time, we've already retrieved the value since we are passing it to the validator method, hence no need to check for reachability there.

This affects only the value validation.

Since the causing change was included in the 3.24.1, we'd probably want to backport this to all still maintained versions...

@quarkus-bot quarkus-bot bot added area/hibernate-validator Hibernate Validator area/hibernate-orm Hibernate ORM labels Sep 10, 2025
Copy link

quarkus-bot bot commented Sep 10, 2025

/cc @gsmet (hibernate-orm)

when Validator#validateValue is used then the root validation context won't have the root bean (i.e. it'll be null), but at the same time we've already retrieved the value since we passed it to the validator call, hence no need to check for reachability
@marko-bekhta marko-bekhta force-pushed the fix/i49987-traversable-resolver-for-validatevalue branch from 8ff70d6 to 9751ce1 Compare September 10, 2025 14:07

This comment has been minimized.

@yrodiere
Copy link
Member

Thank you! LGTM.
I'll restart the failing job but I suspect it's a fluke.

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 15, 2025
Copy link

quarkus-bot bot commented Sep 15, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 9751ce1.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@geoand geoand merged commit b03b810 into quarkusio:main Sep 15, 2025
88 of 91 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.29 - main milestone Sep 15, 2025
@quarkus-bot quarkus-bot bot added kind/bugfix and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Sep 15, 2025
@gsmet gsmet modified the milestones: 3.29 - main, 3.28.0 Sep 16, 2025
@gsmet gsmet modified the milestones: 3.28.0, 3.26.4 Sep 16, 2025
@gsmet gsmet moved this to 3.27.0 in Backports for 3.27 Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 3.27.0

Development

Successfully merging this pull request may close these issues.

Bean Validation via JSF broken from 3.24.1+

4 participants