[html-formfu] different behavior of H::F::Model::DBIC 0.04002 and 0.04003

Wolfgang Kinkeldei wolfgang at kinkeldei.de
Wed May 13 07:13:48 GMT 2009


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:wolfgang at kinkeldei.de -->



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20090513/f5d6162d/smime.bin


More information about the HTML-FormFu mailing list