On Wed, May 13, 2009 at 6:02 AM, Moritz Onken <on...@houseofdesign.de> wrote: > My bad. I'm very sorry. > > Applied is a patch for DBIC and a test which addresses this issue, > > Sorry again. > > cheers, > > moritz
[this is a repeat for moritz, I had trouble posting to the list before] Hi, I applied that patch and I still get the error. I'm trying to update my 'interviewee' table, which has a foreign key to my 'article' table, and the error message says "The primary key and the foreign key may not be the same column in class Foo::Bar::DB::Article". Let me know what information about you need about my setup. mike > > > Am 13.05.2009 um 09:13 schrieb Wolfgang Kinkeldei: > >> Good morning, >> >> the 2 latest versions of HTML::FormFu::Model::DBIC do behave differently. >> >> In my table 'product' I have a column 'color_id' that references >> color(color_id). >> >> the relevant part of my form config for a product looks like this: >> <snip> >> - type: Select >> name: color_id >> label: Color >> empty_first: 1 >> empty_first_label: '- none -' >> model_config: >> resultset: Color >> label_column: color_name >> attributes: >> order_by: color_name >> <snap> >> >> Updating a record with 0.04002 works fine, doing the same with 0.04003 >> yields the message: >> 'The primary key and the foreign key may not be the same column in class >> ...' >> >> Am I doing something wrong that changed and I missed it? >> >> >> >> Regards, >> >> Wolfgang Kinkeldei >> >> -- >> >> ' /\_/\ ' .print[split??,"".(($/=q|Cms)+-03467:;<=|)=~tr!C-z -B! -z!)x >> '( o.o )' .$/]->[hex]foreach split qr<>,qq+1ecd039ad65b025b8063475b+|| >> ' > ^ < ' .q<!-- Wolfgang Kinkeldei - mailto:wolfg...@kinkeldei.de --> >> >> >> >> _______________________________________________ >> HTML-FormFu mailing list >> HTML-FormFu@lists.scsys.co.uk >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu > > > _______________________________________________ > HTML-FormFu mailing list > HTML-FormFu@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu > _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu