... but by filtering out the unique ids you're covering up a potential
problem that would otherwise be exposed.
Shouldn't it be up to the application to ensure things are/aren't
unique?
On Jan 17, 7:28 pm, Nate <nate.ab...@gmail.com> wrote:
> In my book, something needs to be broken before it should be
> fixed. ;-)
>
> In a default HABTM relationship, multiple records with the same
> foreign key pair are not allowed. Simple as that. If you want to do
> something custom, set 'unique' to false, and/or create a join model
> and set up your associations (both of them) to use it.
>
> On Jan 17, 9:06 pm, Brenton B <brenton.bar...@gmail.com> wrote:
>
> > After a bit of a hiatus, I'm back ... and very saddened to see this
> > still isn't fixed ...
> > seriously? Has no one else run into this??
>
> > On Nov 28 2008, 1:25 pm, Brenton B <brenton.bar...@gmail.com> wrote:
>
> > > Yup, and was met with a "need test case" reply ... which I understand
> > > is required ... unfortunately I don't have time as of late to create
> > > one.
> > > If you have the time, go nuts ... otherwise I'm hoping to get to it in
> > > the next few weeks.
>
> > > On Nov 15, 3:14 pm, Mauro Zadu <mauroz...@gmail.com> wrote:
>
> > > > I'm with you Brenton! Can you share the modification you made to
> > > > dbo_source.php? Did you consider open a ticket with this issue?
> > > > Thank you
>
> > > > On 4 nov, 06:43, Brenton B <brenton.bar...@gmail.com> wrote:
>
> > > > > Still no love, hey?
> > > > > I'm not sure how else to explain this other than to ask why
> > > > > dbo_source.php is over-writing.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment