Skip to content

Commit

Permalink
fix param for _validateValueForKey
Browse files Browse the repository at this point in the history
default implementation returns the value of the first param unaltered and resets any data coercion made in validateValueForKey
  • Loading branch information
darkv committed Jul 29, 2016
1 parent a83ff7f commit 92d51ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ public Object validateValueForKey(Object value, String key) throws NSValidation.
if (cd instanceof ERXEntityClassDescription) {
((ERXEntityClassDescription) cd).validateObjectWithUserInfo(this, value, "validateForKey." + key, key);
}
result = _validateValueForKey(value, key);
result = _validateValueForKey(result, key);
}
catch (ERXValidationException e) {
throw e;
Expand Down

0 comments on commit 92d51ff

Please sign in to comment.