Method level Constraint Annotations are not Validated after update to quarkus 3.9.3 #40071
Labels
area/hibernate-validator
Hibernate Validator
kind/bug
Something isn't working
triage/needs-reproducer
We are waiting for a reproducer.
Describe the bug
I have an POJO
and then expose an endpoint:
Validation is fired and works on field-level validation testStr but does not validate
@AssertTrue
on method level.It worked fine on quarkus 3.9.1 if I remember correctly but after latest update it doesn't work.
Expected behavior
ValidationException to be thrown
Actual behavior
nothing, validation is marked as valid
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
openjdk 17.0.8 2023-07-18 OpenJDK Runtime Environment OpenLogic-OpenJDK (build 17.0.8+7-adhoc..jdk17u) OpenJDK 64-Bit Server VM OpenLogic-OpenJDK (build 17.0.8+7-adhoc..jdk17u, mixed mode, sharing)
Quarkus version or git rev
3.9.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)apache-maven-3.9.6 Java version: 17.0.8, vendor: OpenLogic, runtime: C:\Program Files\OpenLogic\jdk-17.0.8.7-hotspot Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Additional information
No response
The text was updated successfully, but these errors were encountered: