You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Date Validator and providing a Date 2024-11-31 (only 30 Days in November), the Validator correctly throws a sfValidatorError but with the value as array. This happens multiple times in that file...
The exact position it happend is inside the convertDateArrayToString function where the value is an array but not yet converted to a string.
// convert array to date stringif (is_array($value))
{
$value = $this->convertDateArrayToString($value);
}
When trying to use %value% in the error message it won't be replaced, because getArguments of the class correctly checks for an array and returns nothing in the end. Therefore nothing of the error message will be replaced.