Re: [CakePHP : The Rapid Development Framework for PHP] #6370: model-afterFind() is inconsistent

2009-05-13 Thread CakePHP : The Rapid Development Framework for PHP
#6370: model-afterFind() is inconsistent
+---
Reporter:  epimeth  | Owner:   
Type:  Bug  |Status:  closed   
Priority:  Medium   | Milestone:  1.2.x.x  
   Component:  General  |   Version:  1.2 Final
Severity:  Normal   |Resolution:  invalid  
Keywords:   |   Php_version:  n/a  
Cake_version:   |  
+---
Changes (by nate):

  * status:  new = closed
  * resolution:  = invalid

Comment:

 Heh, so clearly you noted that there is a correlation between this bug
 and the value of {{{$primary}}}.  Rather than assume the bug is in the
 code, please read the documentation:
 http://book.cakephp.org/view/681/afterFind

-- 
Ticket URL: https://trac.cakephp.org/ticket/6370#comment:1
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #6370: model-afterFind() is inconsistent

2009-05-12 Thread CakePHP : The Rapid Development Framework for PHP
#6370: model-afterFind() is inconsistent
--+-
Reporter:  epimeth|  Type:  Bug
  Status:  new|  Priority:  Medium 
   Milestone:  1.2.x.x| Component:  General
 Version:  1.2 Final  |  Severity:  Normal 
Keywords: |   Php_version:  n/a
Cake_version: |  
--+-
 as far as I can tell, this bug applies only when $primary is false...

 when a model's find() function is called with deep recursion, the model's
 relation's relation's afterFind() is executed.  In this case, the $results
 array is a hash.
 Otherwise, when the afterFind is executed on a model that is a direct
 relation to the queried model, $results is an array of hashes.

-- 
Ticket URL: https://trac.cakephp.org/ticket/6370
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---