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

fREW Schmidt frioux at gmail.com
Wed Jul 8 17:28:01 GMT 2009


Haha, you beat me to it!

On Wed, Jul 8, 2009 at 11:49 AM, Sergio Salvi <sergio.lists at salvi.ca> wrote:

> All right, I've finally submitted my patch for the $row->update($fields)
> bug:
>
> http://rt.cpan.org/Public/Bug/Display.html?id=3D47709
>
> 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 =3D> 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
> >
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20090708/ce7=
244d3/attachment-0001.htm


More information about the DBIx-Class mailing list