Validators needed in nethserver-phpsettings
|Target version:||NethServer 6 - v6.8|
I need a help to finish the rpm nethserver-phpsettings, indeed, shame on me but I don't know how to do validators for this rpm. Surely I need a nethgui lesson. I dug deeply but without workable solutions.
at least I need
PhpMemoryLimit > PhpPostMaxSize > PhpUpMaxFileSize
If you can help me on this case, that's could be really nice :)
#1 Updated by Davide Principi about 5 years ago
A similar issue is tackled in the
Email > Filter tab, to validate the SPAM levels.
That line adds a new condition to
SpamTag2Level parameter validation chain, just before validation occurs.
You should override the
validate() method and don't forget to call
parent::validate($report); somewhere in the body of the function.
This is a common pattern if the validation logic changes with the parameters values.
#2 Updated by stephane de Labrusse about 5 years ago
- Tracker changed from Feature to Task
- Category set to nethserver-phpsettings
- Assignee set to stephane de Labrusse
With the version nethserver-phpmyadmin-1.0.0-3 validators are added now
values must be else you will have an error message
PhpMemoryLimit >= PhpPostMaxSize >= PhpUpMaxFileSize
all properties are saved in the Ibay DB