> > They should've been linked by a HABTM but i need to save some additional > fields in the join table so i made 2x hasMany. >
ITA: Article e Piece dovrebbero essere linkati via HABTM, ma vuoi salvare altri campi addizionali nella Tabella ArticlePiece. ITA: ma la tabella ArticlePiece può avere tutti i campi che tu desideri, importante è che imposti correttamente i campi legati ad ArticlePiece.Article_id e ArticlePiece.Piece_id... ITA: Non capisco, qual è invece il tuo array di risposta che ti da $this->ArticlePiece->findBy*ArticleId*($id) reale?? Posta un esempio di ciò che ricevi! ;) ENG: Article and Piece should be linked by HABTM, but u want saving other additional fields on ArticlePiece's table. ENG: the table ArticlePiece could have every fields in more that u desire. It's important setting in a right way only ArticlePiece.Article_id and ArticlePiece.Piece_id ENG: post an example of ur actual array.. please.. :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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