Dear All,

This one is an odd one I know and I appreciate at first it may look
that there must be a common user error here but as far as I can see
there is none.

I have a model called 'sounds' which HABTM 'downloads' and HABTM
'streams'. I have created the join table  'sounds_downloads' and
'sounds_streams'. The fields are;

STREAMS
----------------
stream_id
sound_id

DOWNLOADS
----------------
download_id
sound_id


I have then used bake to generate the model, controller and view for
'sounds'. It works fine and successfully loads the 'add' view with the
appropriate data and submission updates 'sound' and also adds to
'sounds_streams' however it fails to add to 'sounds_downloads'

I have checked the outputted code and all appears to conform.

I have tried 3 different model names task, document, tit (i was getting
a little peeved at this point) all where just a case of renaming the
existing sounds_downloads join table so the table schema is the same.
These all worked fine with both join tables being populated.

Is there any reason whatsoever that someone can think that 'downloads'
would pose a problem for CAKE or indeed any over debugging ideas i
might try??!!

Help!

Cheers

Tom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to