As far as I remember 'id' (or primary key column) was always required
for the join table to work correctly.
Cake doesn't support compound keys, so to ensure uniqueness of the
records the primary column is required.
At any rate it is certainly not a bug.
P.S. Also, cake doesn't support 'enums' out-of-the-box.
On Oct 28, 10:47 am, Alexandru <[EMAIL PROTECTED]> wrote:
> in rc2 all worked ok and i had to add some simple code in product
> model to work
> class AllowedusesProduct extends AppModel {
>
> var $name = 'AllowedusesProduct';
> var $useTable = 'alloweduses_products';
>
> function beforeSave(){
> $this->id = null;
> return true;
> }
>
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---