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
Click on 'add opening hours' (for Saturday or Sunday)
See error:
The problem is that the callback validation StoreFormType::validateOpeningHours() is triggered before Constraints\NotBlank on OpeningHoursRangeFormType fields (openingTime and closingTime) or maybe for some reason the NotBlank validation is not performed against some days (the bug occurs only when adding empty opening hours for Saturday or Sunday 🤔 )
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
admin/store/edit/1
The problem is that the callback validation
StoreFormType::validateOpeningHours()
is triggered beforeConstraints\NotBlank
onOpeningHoursRangeFormType
fields (openingTime
andclosingTime
) or maybe for some reason theNotBlank
validation is not performed against some days (the bug occurs only when adding empty opening hours for Saturday or Sunday 🤔 )The text was updated successfully, but these errors were encountered: