If you want the dev team's "answer" for why multiple validation
doesn't with with HABTM, then read the Lighthouse ticket I submitted:

http://cakephp.lighthouseapp.com/projects/42648/tickets/400-validation-of-habtm-data-needed

Mark Story basically just says this:

"You can always validate join table data separately, or use
beforeSave() beforeValidate() logic to do validation on habtm data.
Moving to enhancement as while I think being able to validate habtm
associations would be nice, there are a few existing options for it."

... which I think is a bit of a cop out. But oh well.


On Apr 21, 1:50 pm, WebbedIT <p...@webbedit.co.uk> wrote:
> I have posted and taken part in multiple threads involving the
> 'multiple' rule and eventually applied my own core hack to get it
> working.  Others have came up with alternatives that massage the data
> array so save and validation works, I think there's even something in
> the bakery about it.
>
> http://groups.google.com/group/cake-php/browse_thread/thread/33909430...
>
> http://groups.google.com/group/cake-php/browse_thread/thread/c61e95ba...
>
> http://groups.google.com/group/cake-php/browse_thread/thread/2191de25...
>
> http://groups.google.com/group/cake-php/browse_thread/thread/d899231d...
>
> http://bakery.cakephp.org/articles/view/quick-fix-for-habtm-validation
>
> Maybe this time someone from the dev team will chime in with an answer
> as to why this does not work when using the conventions?
>
> Paul.
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with 
> their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to