Changes between Version 1 and Version 2 of Ticket #27263
- Timestamp:
- Sep 23, 2016, 2:39:52 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27263 – Description
v1 v2 15 15 The problem is, when I load the bigger file and with different extension, both validators execute and both error messages are shown for field (about exceeding max limit and wrong extension). 16 16 17 What I want - if first validator failed, don't even apply the rest of validators. For this specific scenario is not crucial, but in case of bigger amount of validators and more complex checks it can be a problem. For example if we need to read the file and verify that something exists there, why whe should do that if it'sa size limit already exceeded.17 What I want - if first validator failed, don't even apply the rest of validators. For this specific scenario is not crucial, but in case of bigger amount of validators and more complex checks it can be a problem. For example if we need to read the file and verify that something exists there, why whe should do that if a size limit already exceeded. 18 18 19 19 Another option can be customizing each validator to not execute in case of existing errors.