Bug #1092
MVC - Arguments Validation on Arrays / MVC Validation
Status: | Resolved | Start date: | 2008-07-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Robert Lemke | % Done: | 100% |
|
Category: | - | |||
Target version: | - | Estimated time: | 0.00 hour | |
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
Currently no filter to validate an Array (e.g. a serialized form with a certain namespace)
in the current concept something like register the argument in the controller like this would be good:
$this->arguments->addNewArgument('searchFilter','RecursiveTextArray');
or I also would like something like
$this->arguments->addNewArgument('searchFilter','NoValidation');
also
$this->arguments->addNewArgument('searchFilter',''); throws currently a unfetched fatal error.
Associated revisions
- FLOW3: (Validation) Added a "raw" validator which accepts just everything. Resolves #1092
History
#1 Updated by Robert Lemke almost 7 years ago
- Status changed from New to Accepted
- Assigned To set to Robert Lemke
I think that "RecursiveTextArray" is to special to be implemented in the FLOW3 package itself. What about UnrecursiveIntegerArray etc.?
In my opinion you better solve that by chaining existing validators or writing a small validator yourself.
I'll implement the no validation validator though.
#2 Updated by Robert Lemke almost 7 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r1123.