My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 41: revisions() only finds one revision
1 person starred this issue and may be notified of changes. Back to list
Status:  NeedMoreInfo
Owner:  alek.morland
Closed:  Oct 01
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by dogmatic69, Sep 30, 2009
What steps will reproduce the problem?
1. setup like normal
2. edit the record a few times 

What is the expected output? What do you see instead?
pr( $this->Model->revisions()); // one revision

should have the all the revisions.

What version of the product are you using? On what operating system?
2.0.4

Please provide any additional information below.
chatted on #cakephp about this
Comment 1 by dogmatic69, Sep 30, 2009
alkemann, i just tried this in my controller

ClassRegistry::init( 'ProjectsRev' )->find( 'all', array( 'conditions' => array(
'ProjectsRev.id' => $project['Project']['id'] ) ) )

and it works... so i dont think its a cake bug
Comment 2 by alek.morland, Oct 01, 2009
I am not able to recreate this issue. I have made tests, and it seems to behave as 
expected. see : http://code.google.com/p/alkemann/source/detail?r=236

I need information on how to recreate the problem, or even better, can you write a test 
case that fails?
Status: NeedMoreInfo
Owner: alek.morland
Sign in to add a comment

Hosted by Google Code