Inexistant validation rule silently passes FALSE |
[eluser]Pnux[/eluser]
I had a typo on the name of a set of rules in my application/config/form_validation and the check was failing. There was no error being displayed, nothing on the logs, just the validation failing. This is somewhat similar to this bug, but with this code: Rules (in application/config/form_validation): Code: $config["foo"] = Controller: Code: $this->load->library('form_validation'); Again, im not saying CI should guess which rule you meant, im saying this should be displayed as an error, or at least get logged. Maybe this has been fixed on the new upcoming version, maybe not, thats why im posting.
[eluser]CodeIgniteMe[/eluser]
This bug has been fixed and is already on github as mentioned in your link |
Welcome Guest, Not a member yet? Register Sign In |