My bad. I'm very sorry.

Applied is a patch for DBIC and a test which addresses this issue,

Sorry again.

cheers,

moritz

Attachment: select_additive.patch
Description: Binary data



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

Reply via email to