#5981: Validation always passing with on-the-fly model import & PHP Version
4.4.4-8+etch6
---------------------------+------------------------------------------------
Reporter: sveggiani | Owner:
Type: Bug | Status: new
Priority: Medium | Milestone: 1.2.x.x
Component: Validation | Version: 1.2 Final
Severity: Normal | Resolution:
Keywords: | Php_version: PHP 4 >= 4.3.2
Cake_version: |
---------------------------+------------------------------------------------
Comment (by sveggiani):
Replying to [comment:3 AbhimanyuG]:
> I dont think its a bug, check:
>
> {{{
> pr($this->Feedback); die;
> }}}
>
> If its an AppModel object, a dynamic model is loaded.
Hi AbhimanyuG:
I think is actually a bug because it happens only in PHP version 4. If you
try the same with Cake running with PHP 5 it doesn't happens. I've tried
to print the content of the model with
{{{
pr($this->Feedback); die;
}}}
and it returned OK all the data submited by the form but the validation is
not triggered at all.
--
Ticket URL: <https://trac.cakephp.org/ticket/5981#comment:4>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---