Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.5
-
None
Description
Validation helper happily includes scope prefixes (if they are used in the flow definition) of a flow's model attribute for resolving the corresponding validation bean and method.
E.g.
<view-state id="modifyCatalogueViewState" view="modifyCatalogue" model="viewScope.catalogue">
would cause the validation helper to search for a validation bean with id="viewScope.catalogueValidator"
The lookup process in the validation helper class should strip the scope from model names.
Workaround: either do not use a scope prefix in the viewState's model attribute or define the validator bean id as such that it includes the scope as prefix.