Re: md5.action.php
Joshua <[email protected]> Fri, 29 Apr 2005 12:18:08 -0600
| Newsgroups | gmane.comp.lib.nexista.devel |
|---|---|
| Message-ID | <[email protected]> |
Open up Path::get() and track things there. Maybe also try it without the // in front. When I switched over to the DOM XML some old calls changed - correctly On Friday 29 April 2005 1:13, 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"/>