[PATCH] Re: [Dbix-class] DBIx::Class::Validation doesn't seem to work

Sergio Salvi sergio.lists at salvi.ca
Wed Jul 8 16:49:53 GMT 2009


All right, I've finally submitted my patch for the $row->update($fields) bug:

http://rt.cpan.org/Public/Bug/Display.html?id=47709

Sergio

On Wed, Jul 8, 2009 at 10:39 AM, fREW Schmidt<frioux at gmail.com> wrote:
> Adding ->update() after the initial ->update($params) doesn't seem to do
> anything :-/
>
> On Tue, Jul 7, 2009 at 5:59 PM, Sergio Salvi <sergio.lists at salvi.ca> wrote:
>>
>> Are you doing $row->update({ key => value }) ?
>>
>> Does calling $row->update() again solve your problem?
>>
>> Previous versions of the validation module had a bug where it wouldn't
>> validate fields if you called update($hashref) instead of using accessors to
>> set values and then just calling update(). It may have been fixed already. I
>> meant to report it as a bug, but ended up not doing it :(
>>
>> Sergio
>>
>> PS: I can't reply to the list from this email address...
>>
>> -----Original Message-----
>> From: fREW Schmidt <frioux at gmail.com>
>>
>> Date: Tue, 7 Jul 2009 17:31:43
>> To: DBIx::Class user and developer list<dbix-class at lists.scsys.co.uk>
>> Subject: [Dbix-class] DBIx::Class::Validation doesn't seem to work
>>
>>
>> _______________________________________________
>> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
>> IRC: irc.perl.org#dbix-class
>> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
>> Searchable Archive:
>> http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>>
>
>
>
> --
> fREW Schmidt
> http://blog.afoolishmanifesto.com
>



More information about the DBIx-Class mailing list