CodeIgniter Forums
[split] Form Validation Rules Bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: Issues (https://forum.codeigniter.com/forum-19.html)
+--- Thread: [split] Form Validation Rules Bug (/thread-62561.html)



[split] Form Validation Rules Bug - Oxiadust - 07-29-2015

i found also a bug in the CodeIgniter 3.0 is_unique method, it always returns false so i copy the is_unique method from CodeIgniter 2.0 and it's work now, but I'm not sure if it's the right thing to do...


RE: [split] Form Validation Rules Bug - Narf - 07-29-2015

Modifying the framework is never the right thing to do.

Show us an example of what you think the bug is and we'll see whether it is indeed a bug or something else.


RE: [split] Form Validation Rules Bug - Oxiadust - 07-31-2015

(07-29-2015, 11:24 AM)Narf Wrote: Modifying the framework is never the right thing to do.

Show us an example of what you think the bug is and we'll see whether it is indeed a bug or something else.

I know Sad  but i use it  in a form to verify if an email exist already in my database like that is_unique[users.email]. I think CI 3.0 doing it wrong because it return "is_unique" in the form error  and the validation fail. 


sorry for my bad english.