Re: md5.action.php

Albert Lash <alby-8/[email protected]> Fri, 29 Apr 2005 15:20:27 -0400 (EDT)
Newsgroups gmane.comp.lib.nexista.devel
Message-ID <[email protected]>
$res = Path::get($this->params['var'], 'flow');

is working, but its failing at:

if($res->length === 1)

So how can I just set the flow variable again?



On Fri, 29 Apr 2005, Albert Lash wrote:

> Hmm, something is not right. I tried both
> <action type="md5" params="//_post/user_password"/>
> and
> <action type="md5" params="post:user_password"/>
> with no luck.
>
> When I try post:, I get an additional Notice:
>
> Notice: Undefined variable: string in
> /Users/albertlash/Sites/gnu_nexista/nexista/kernel/path.php on line 232
>
> I'm certain the flow variable is there, as I can see it in the flow dump,
> and in the tracking output of the queries. I turned it off too in case it
> was interfering.
>
> On Fri, 29 Apr 2005, Joshua wrote:
>
> > Path::get which is what I just changed it to determines the correct protocol.
> > So Flow::getByPath allows flow vars ONLY. Path::get allows anything.
> > including flow - there is a default, which can be specified - which should be
> > flow - so when you do <action type="md5" params='//_post/user_password"/>
> > you imply flow. But you could now also do things like
> >  <action type="md5" params='post:user_password"/>
> >
> > That may have been the issue -it was defaulting to string - just changed to
> > flow - try again - note that I updated md5 twice - get the latest
> >
> > On Friday 29 April 2005 12:51, Albert Lash wrote:
> > > Why does this use the InlineFlow function? I would figure it to use the
> > > Flow::getByPath function.
> > >
> > > My call:
> > >
> > > <action type="md5" params='//_post/user_password"/>
> >
>