I have some tables/models such that Post HABTM Tag and Tag HABTM
Category (for example).

When I do a Post->find('all') with recursive set to 2 (or even using a
'contain' array with Post => Tag => Category, I am getting duplicate
entries for Category. So, part of my results end up looking like:

[Category] => Array
  (
    [0] => Array
      (
        [id] => 1
        [name] => Garbage
        [CategoriesTag] => Array
          (
            [id] => 10
            [category_id] => 1
            [tag_id] => 5
          )
      )
    [1] => Array
      (
        [id] => 1
        [name] => Garbage
        [CategoriesTag] => Array
          (
            [id] => 10
            [category_id] => 1
            [tag_id] => 5
          )
      )
  )

Seems like a bug... but I'm not sure if I'm just missing something or
what.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to