Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Input::prepareRequiredValidationFailureMessage return value #69

Closed
metanav opened this issue Sep 29, 2015 · 0 comments · Fixed by #73
Closed

Input::prepareRequiredValidationFailureMessage return value #69

metanav opened this issue Sep 29, 2015 · 0 comments · Fixed by #73

Comments

@metanav
Copy link

metanav commented Sep 29, 2015

After upgrading to 2.5.5, Apigility validators are not showing expected error message for required fields if error_message is not set. Previously, it was showing the error message from a NotEmpty validator if present in the validator chain.
I think the newly introduced prepareRequiredValidationFailureMessage() method should return existing NotEmpty validator message, if present in the validator chain.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant