o:validateBean on class-level broken in 2.5 #313
Closed
Comments
That was an awkward mistake. Can you please try today's latest 2.6 snapshot after its build has passed and confirm? Then I will release a 2.5.1. |
I can confirm it is working in 2.6-20160920.200801-3 |
I have just released 2.5.1. It will be on Maven Central sooner or later today. |
BalusC
added a commit
that referenced
this issue
Sep 23, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrade to 2.5, o:validateBean stopped working on class-level validation.
Stack: Wildfly 9, JSF 2.2, PrimeFaces 5.3
I've found out by debugging that method
ValidateBean.processValidateBean(UIComponent component)
in 2.4 contains following condition:In 2.5 this condition has been changed to this
Since
hasInvokedSubmit
returns (in both versions) false (because component isHtmlForm
butgetCurrentActionSource()
isUICommand
) the condition always ends execution in 2.5.The text was updated successfully, but these errors were encountered: