CronExpressionBundle icon indicating copy to clipboard operation
CronExpressionBundle copied to clipboard

Handle DataTransformers Errors differently instead of 500

Open Hanmac opened this issue 1 year ago • 0 comments

For example, if we use CronExpressionForm with simple_text, and some invalid Cron Expression is inserted, then it results in an "HTTP 500 Internal Server Error" page

Adding CronExpressionConstraint to the Form doesn't help.

I think the DataTransformer might need to throw a different Exception if the view data is invalid.

Hanmac avatar Aug 09 '24 13:08 Hanmac