title: Containable behavior does not return from depth 3 - CakePHP
body: <p>I use CakePHP 1.2.6 and have the following relations:</p>
  
  <p>Showcase HABTM User belongsTo Galleryitem hasOne Image</p>
  
  <p>I try to get all the data related to a Showcase, and therefor also all its users with their Galleryitem -> Image. I use the following query:</p>
  
  <pre><code>$showcase = $this-&gt;Showcase-&gt;find('first',
      array('conditions'=&gt;array('Showcase.id'=&gt;$id),
          'contain'=&gt; array(
              'User' =&gt; array(
                  'Galleryitem' =&gt; array(
                      'Image'
                  )
              )
          )
      )
  );
  </code></pre>
  
  <p>This does returns and empty array of <code>Galleryitem</code> and thus no <code>Image</code> records at all.
  If I try the following:</p>
  
  <pre><code>$showcase = $this-&gt;Showcase-&gt;User-&gt;find('first',
      array(
          'contain'=&gt; array(
              'Galleryitem' =&gt; array(
                  'Image'
              )
          )
      )
  );
  </code></pre>
  
  <p>I do get some data here about <code>Image</code>. So it seems the depth plays a role here.</p>
  
  <p>Other factors that came to mind were the <code>belongsTo</code> relation between <code>User</code> and <code>Galleryitem</code>.</p>
  
  <p>What causes my query not to return data from a depth of 3?</p>
  
  <p><strong>Update</strong>
  The set of Showcase relations is in my project much more branched than I explain above. All the other branches properply show up. So I guess it has to do with specific relations in this branch, the <code>User belongsTo Galleryitem</code>.</p>
  
  <p>Strange still, because the other branches contain this very same set of <code>Galleryitem hasOne Image</code> relation.</p>