[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:24:52 GMT 2010


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.

Carl



More information about the HTML-FormFu mailing list