[html-formfu] Re: Patch: Catalyst::Controller::HTML::FormFu, Modification of a read-only value attempted at line 178

Carl Franks fireartist at gmail.com
Thu Jan 14 14:50:22 GMT 2010


2010/1/14 Carl Franks <fireartist at gmail.com>:
> 2010/1/14 Oskari 'Okko' Ojala <okko+formfu at frantic.com>:
>> On Thu, 14 Jan 2010, Carl Franks wrote:
>>
>>> I meant Data::Visitor
>>
>> Thanks for your help! Data::Visitor is at 0.26.
>>
>>> Could you attach your config file?
>>
>> I stripped it down and it happens just by having this as the form config,
>> nothing else:
>>
>> elements:
>>    - type: Password
>>      name: password
>>      retain_default: true
>
> Ok - because the *true* value isn't quoted, it's being translated as
>    retain_default: 1
> and that *1* is somehow a constant.
> I'll look into this further to see if it's something I can fix.

I've committed a workaround to Catalyst-Controller-HTML-FormFu (svn
-r1671) to stop the error.
I've also opened an RT bug against YAML::XS to see if it can be fixed.

Carl



More information about the HTML-FormFu mailing list