Skip to content

Commit

Permalink
ADS-2883 Enable default profile in validation plugin (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-nosto authored Dec 29, 2020
1 parent 7811070 commit 1586162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/play/data/validation/ValidationPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public List<ConstraintViolation> validateAction(Method actionMethod) throws Exce
}
}
Object[] rArgs = ActionInvoker.getActionMethodArgs(actionMethod, instance);
ValidationCycle validationCycle = new ValidationCycle(new String[0]);
ValidationCycle validationCycle = new ValidationCycle(new String[]{"default"});
validateMethodParameters(null, actionMethod, rArgs, validationCycle);
validateMethodPre(null, actionMethod, rArgs, validationCycle);
return validationCycle.violations;
Expand Down

0 comments on commit 1586162

Please sign in to comment.