lukaszlenart commented on PR #540: URL: https://github.com/apache/struts-examples/pull/540#issuecomment-5292945835
Verified this one locally against `main` after #544, since it is a three-major-version jump (6.2.3 → 9.1.2) and `bean-validation` has no tests, so a green CI run only proves it resolves. Ran the module under Jetty and exercised the actual validation path: - POST with an invalid email → returns the input page with `errorFor="save_personBean_email"` and the message *"Email address not in a valid email format"* - POST with a valid email → reaches "Update Successful!" - no exceptions in the container log So constraint evaluation and EL message interpolation both work under Hibernate Validator 9.1.2 with `struts2-bean-validation-plugin` 7.3.0. Jakarta Validation is already at 3.1.1 and the build targets Java 17, which are 9.x's requirements. Worth noting this PR also fixes a real inconsistency: `bean-validation/pom.xml` hard-coded `6.2.3.Final` (a javax-era release) which overrode the parent's managed `8.0.1.Final`. After this both are on 9.1.2. Looks good to merge once the rebase lands green. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
