une 2011, 12:22
Subject: Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL
values
Hi Peter,
In my initial post I've written about this option:
I thought about using ignore_if_empty option, but I lose ability to
unset the column value to NULL with it.
thanks for your reply
1
nyak
> To: "HTML Form Creation, Rendering and Validation Framework"
>
> Cc:
> Sent: Wednesday, 15 June 2011, 12:22
> Subject: Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL
> values
>
> Hi Peter,
> In my initial post I've written about
ignore_if_empty: 1
Cheers,
--
Peter
- Original Message -
From: Alex Povolotsky
To: html-formfu@lists.scsys.co.uk
Cc:
Sent: Monday, 6 June 2011, 12:04
Subject: Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL
values
On 04/28/11 17:52, Dmitry Bigunyak wrote:
Thanks for y
name: some_field
model_config:
ignore_if_empty: 1
Cheers,
--
Peter
- Original Message -
> From: Alex Povolotsky
> To: html-formfu@lists.scsys.co.uk
> Cc:
> Sent: Monday, 6 June 2011, 12:04
> Subject: Re: [html-formfu] Model::DBIC inserts empty strings
On 04/28/11 17:52, Dmitry Bigunyak wrote:
Thanks for your reply, I'm not alone :)
As a temporary solution I've blocked updating on new versions. Hope
Carl will reply in that subject.
I've patched model
__PACKAGE__->load_components(qw( FilterColumn ));
foreach my $bool ( qw(default_read defaul
Thanks for your reply, I'm not alone :)
As a temporary solution I've blocked updating on new versions. Hope Carl
will reply in that subject.
28.04.2011 16:09, Peter Shangov пишет:
Hi Dmitry,
This is a known issue, I wrote about it recently too:
http://lists.scsys.co.uk/pipermail/html-formfu/2
::DBIC inserts empty strings instead of NULL
> values
> To: html-formfu@lists.scsys.co.uk
> Date: Thursday, 28 April, 2011, 12:39
> Does anybody read this mailing-list?
> Maybe someone has the same problem or knows how to solve
> it?
> Any suggestions are appreciated.
>
>
Does anybody read this mailing-list? Maybe someone has the same problem
or knows how to solve it?
Any suggestions are appreciated.
22.04.2011 01:41, Dmitry Bigunyak пишет:
Hello!
I faced with this problem after upgraded from version
HTML-FormFu-Model-DBIC-0.06000 to the next one.
In version
Hello!
I faced with this problem after upgraded from version
HTML-FormFu-Model-DBIC-0.06000 to the next one.
In version 0.06000 if I had a table with varchar column and is_nullable
option was set I got NULL values inserted for it on submit. In my
example I have a column 'username' with UNIQUE