Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-06-15 Thread Dmitry Bigunyak
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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-06-15 Thread Peter Shangov
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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-06-15 Thread Dmitry Bigunyak
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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-06-15 Thread Peter Shangov
    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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-06-06 Thread Alex Povolotsky
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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-04-28 Thread Dmitry Bigunyak
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

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-04-28 Thread Peter Shangov
::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. > >

Re: [html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-04-28 Thread Dmitry Bigunyak
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

[html-formfu] Model::DBIC inserts empty strings instead of NULL values

2011-04-21 Thread Dmitry Bigunyak
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