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

Wolfgang Kinkeldei wolfgang at kinkeldei.de
Wed May 13 12:34:29 GMT 2009


Hi Moritz,

Am 13.05.2009 um 13:02 schrieb Moritz Onken:

> My bad. I'm very sorry.
>
> Applied is a patch for DBIC and a test which addresses this issue,

I applied the patch and things now works again.

Thanks and congratulations to all your brilliant work. The more I  =

learn about Catalyst and FormFu the more I like it.

> Sorry again.
>
> cheers,
>
> moritz<select_additive.patch>
>
> 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?


[...]

Gr=FC=DFe,

Wolfgang Kinkeldei

-- =


' /\_/\ ' .print[split??,"".(($/=3Dq|Cms)+-03467:;<=3D|)=3D~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/4=
2a9895b/smime.bin


More information about the HTML-FormFu mailing list