|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Error in new versionI recognize some of this to but my memory is not with me today. No time now but I look at it later if I found any notes in my SVN commits. /C 29 okt 2009 kl. 15.09 skrev Johan Solve: > I recognize this and I'm pretty sure this was discovered and fixed > fairly recently, although I can't find any trace of that now. > > Conny do you recall more details? > > At 07.29 -0700 2009-10-29, Steve Piercy wrote: >> I've been getting the same error now on LP8.5 with the latest >> version of >> Knop: >> >> No tag, type or constant was defined under the name pair->removeall >> with >> arguments: array: (-path) >> at: url with params: -path='discounts/edit', '- >> keyvalue'='###keyvalue###', >> -autoparams, -except=array: (-path) >> at: renderlisting with params: -inlinename=@'', -xhtml=false >> at: renderhtml >> at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11 >> at: include with params: '/admin/_content/cnt_discounts_list.inc' >> at: include with params: 'content' >> at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at >> position: 10 >> Error Code: -9948 >> >> >> >> Here is what I suspect: >> >> define_tag: 'renderlisting', -description='Outputs just the actual >> record >> listing. Is called by renderhtml. \ >> >> <snip> >> #field -> insert('url_cached' = (#nav -> (url: -path=#url, >> #keyparamname='###keyvalue###', >> -autoparams, >> -except=(array: -path)))); >> >> >> I suspect the -except parameter is the pair->removeall demon. >> >> --steve >> >> >> Johan Solve-2 wrote: >>> >>> Bummer, I can't find anywhere in nav->url where a pair->removeall >>> could >>> happen. >>> >>> Could you test this with the L8 branch as well? >>> >>> >>> >>> At 14.28 +0200 2009-10-12, Johan Solve wrote: >>>> The syntax error is in the ->url member tag. You quoted the code >>>> that >> calls the url tag. >>>> >>>> Btw Steve, the '-keyvalue' string comes from using a dynamic >>>> parameter >> name #keyparamname. I don't want to think about if that's even >> possible in >> nine yet... >>>> >>>> >>>> >>>> At 22.53 +0200 2009-10-08, Jolle Carlestam wrote: >>>>> I get an error when trying to display a grid. It's when trying >>>>> the new >> (ninefied version). >>>>> >>>>> This error pops up: >>>>> No tag, type or constant was defined under the name pair- >>>>> >removeall with >>>> arguments: array: (-path) >>>>> at: url with params: -path='images/imageedit', >> '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path) >>>>> >>>>> And I've tracked to this code piece (I think): >>>>> if(#nav -> isa('nav')); >>>>> iterate(#fields, #field); >>>>> if((#field -> find('url')) != ''); >>>>> #url = (#field -> find('url')); >>>>> #keyparamname = (#field -> find('keyparamname')); >>>>> #field -> insert('url_cached' = (#nav -> url(-path = #url, >>>>> #keyparamname = '###keyvalue###', >>>>> -autoparams, >>>>> -except = array('-path')))); >>>>> /if; >>>>> /iterate; >>>>> /if; >>>>> >>>>> For the life of me I don't know what to change. >>>>> >>>>> HDB >>>>> Jolle >>>>> >>>>> -- >>>>> ############################################################# >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list <knop@...>. >>>>> To unsubscribe, E-mail to: <knop-off@...> >>>>> Send administrative queries to <knop-request@...> >>>>> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>>> Project homepage http://montania.se/projects/knop/ >>>>> Google Code has the latest downloads at http://code.google.com/p/knop/ >>>> >>>> >>>> -- >>>> Johan Sölve [FSA Member, Lasso Partner] >>>> Web Application/Lasso/FileMaker Developer >>>> MONTANIA SOFTWARE & SOLUTIONS >>>> http://www.montania.se mailto:joh-n@... >>>> (spam-safe email address, replace '-' with 'a') >>>> >>>> -- >>>> ############################################################# >>>> This message is sent to you because you are subscribed to >>>> the mailing list <knop@...>. >>>> To unsubscribe, E-mail to: <knop-off@...> >>>> Send administrative queries to <knop-request@...> >>>> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>> Project homepage http://montania.se/projects/knop/ >>>> Google Code has the latest downloads at http://code.google.com/p/knop/ >>> >>> >>> -- >>> Johan Sölve [FSA Member, Lasso Partner] >>> Web Application/Lasso/FileMaker Developer >>> MONTANIA SOFTWARE & SOLUTIONS >>> http://www.montania.se mailto:joh-n@... >>> (spam-safe email address, replace '-' with 'a') >>> >>> -- >>> ############################################################# >>> This message is sent to you because you are subscribed to >>> the mailing list <knop@...>. >>> To unsubscribe, E-mail to: <knop-off@...> >>> Send administrative queries to <knop-request@...> >>> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>> Project homepage http://montania.se/projects/knop/ >>> Google Code has the latest downloads at http://code.google.com/p/knop/ >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Error-in-new-version-tp25811453p26114161.html >> Sent from the Knop Framework Discussion mailing list archive at >> Nabble.com. >> >> >> -- >> ############################################################# >> This message is sent to you because you are subscribed to >> the mailing list <knop@...>. >> To unsubscribe, E-mail to: <knop-off@...> >> Send administrative queries to <knop-request@...> >> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >> Project homepage http://montania.se/projects/knop/ >> Google Code has the latest downloads at http://code.google.com/p/ >> knop/ > > > -- > Johan Sölve [FSA Member, Lasso Partner] > Web Application/Lasso/FileMaker Developer > MONTANIA SOFTWARE & SOLUTIONS > http://www.montania.se mailto:joh-n@... > (spam-safe email address, replace '-' with 'a') > > -- > ############################################################# > This message is sent to you because you are subscribed to > the mailing list <knop@...>. > To unsubscribe, E-mail to: <knop-off@...> > Send administrative queries to <knop-request@...> > List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html > Project homepage http://montania.se/projects/knop/ > Google Code has the latest downloads at http://code.google.com/p/knop/ ____________________________________ Montania System AB http://www.montania.se Conny Larsson -- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@...>. To unsubscribe, E-mail to: <knop-off@...> Send administrative queries to <knop-request@...> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/ |
|
|
Re: Error in new versionI think I found a lead to this issue.
The functionality breaks between versions 105 and 109 in knop.lasso. I ran a diff on the whole file, and started commenting out chunks of code until I isolated the culprit, between lines 6825 and 6837: iterate: #except, (local: 'param'); #params -> (removeall: #param); /iterate; <snip> if: #params >> '-keyvalue'; #url += (#params -> (find: '-keyvalue') -> first -> value) + '/'; #params -> (removeall: '-keyvalue'); /if; When I comment out those two chunks, I get the link in the grid as follows: http://foo.com/admin/?customers/edit/&-keyvalue=%23%23%23keyvalue%23%23%23 or in English: http://foo.com/admin/?customers/edit/?&-keyvalue=###keyvalue### Does that help narrow down the issue at all? --steve On 10/29/09 at 7:14 PM, cl@... (Conny Larsson) pronounced: >I recognize some of this to but my memory is not with me today. >No time now but I look at it later if I found any notes in my >SVN commits. > >/C > >29 okt 2009 kl. 15.09 skrev Johan Solve: > >>I recognize this and I'm pretty sure this was discovered and >>fixed fairly recently, although I can't find any trace of that now. >> >>Conny do you recall more details? >> >>At 07.29 -0700 2009-10-29, Steve Piercy wrote: >>>I've been getting the same error now on LP8.5 with the latest >>>version of >>>Knop: >>> >>>No tag, type or constant was defined under the name >>>pair->removeall with >>>arguments: array: (-path) >>>at: url with params: -path='discounts/edit', '-keyvalue'='###keyvalue###', >>>-autoparams, -except=array: (-path) >>>at: renderlisting with params: -inlinename=@'', -xhtml=false >>>at: renderhtml >>>at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11 >>>at: include with params: '/admin/_content/cnt_discounts_list.inc' >>>at: include with params: 'content' >>>at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at >>>position: 10 >>>Error Code: -9948 >>> >>> >>> >>>Here is what I suspect: >>> >>> define_tag: 'renderlisting', -description='Outputs just >>>the actual record >>>listing. Is called by renderhtml. \ >>> >>><snip> >>> #field -> insert('url_cached' = (#nav -> (url: -path=#url, >>> #keyparamname='###keyvalue###', >>> -autoparams, >>> -except=(array: -path)))); >>> >>> >>>I suspect the -except parameter is the pair->removeall demon. >>> >>>--steve >>> >>> >>>Johan Solve-2 wrote: >>>> >>>>Bummer, I can't find anywhere in nav->url where a >>>>pair->removeall could >>>>happen. >>>> >>>>Could you test this with the L8 branch as well? >>>> >>>> >>>> >>>>At 14.28 +0200 2009-10-12, Johan Solve wrote: >>>>>The syntax error is in the ->url member tag. You quoted the >>>>>code that >>>calls the url tag. >>>>> >>>>>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter >>>name #keyparamname. I don't want to think about if that's >>>even possible in >>>nine yet... >>>>> >>>>> >>>>> >>>>>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote: >>>>>>I get an error when trying to display a grid. It's when >>>>>>trying the new >>>(ninefied version). >>>>>> >>>>>>This error pops up: >>>>>>No tag, type or constant was defined under the name >>>>>>pair->removeall with >>>>>arguments: array: (-path) >>>>>>at: url with params: -path='images/imageedit', >>>'-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path) >>>>>> >>>>>>And I've tracked to this code piece (I think): >>>>>> if(#nav -> isa('nav')); >>>>>> iterate(#fields, #field); >>>>>> if((#field -> find('url')) != ''); >>>>>> #url = (#field -> find('url')); >>>>>> #keyparamname = (#field -> find('keyparamname')); >>>>>> #field -> insert('url_cached' = (#nav -> url(-path = #url, >>>>>> #keyparamname = '###keyvalue###', >>>>>> -autoparams, >>>>>> -except = array('-path')))); >>>>>> /if; >>>>>> /iterate; >>>>>> /if; >>>>>> >>>>>>For the life of me I don't know what to change. >>>>>> >>>>>>HDB >>>>>>Jolle >>>>>> >>>>>>-- >>>>>>############################################################# >>>>>>This message is sent to you because you are subscribed to >>>>>>the mailing list <knop@...>. >>>>>>To unsubscribe, E-mail to: <knop-off@...> >>>>>>Send administrative queries to <knop-request@...> >>>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>>>>Project homepage http://montania.se/projects/knop/ >>>>>>Google Code has the latest downloads at http://code.google.com/p/knop/ >>>>> >>>>> >>>>>-- >>>>> Johan Sölve [FSA Member, Lasso Partner] >>>>> Web Application/Lasso/FileMaker Developer >>>>> MONTANIA SOFTWARE & SOLUTIONS >>>>>http://www.montania.se mailto:joh-n@... >>>>>(spam-safe email address, replace '-' with 'a') >>>>> >>>>>-- >>>>>############################################################# >>>>>This message is sent to you because you are subscribed to >>>>>the mailing list <knop@...>. >>>>>To unsubscribe, E-mail to: <knop-off@...> >>>>>Send administrative queries to <knop-request@...> >>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>>>Project homepage http://montania.se/projects/knop/ >>>>>Google Code has the latest downloads at http://code.google.com/p/knop/ >>>> >>>> >>>>-- >>>> Johan Sölve [FSA Member, Lasso Partner] >>>> Web Application/Lasso/FileMaker Developer >>>> MONTANIA SOFTWARE & SOLUTIONS >>>>http://www.montania.se mailto:joh-n@... >>>>(spam-safe email address, replace '-' with 'a') >>>> >>>>-- >>>>############################################################# >>>>This message is sent to you because you are subscribed to >>>>the mailing list <knop@...>. >>>>To unsubscribe, E-mail to: <knop-off@...> >>>>Send administrative queries to <knop-request@...> >>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>>Project homepage http://montania.se/projects/knop/ >>>>Google Code has the latest downloads at http://code.google.com/p/knop/ >>>> >>>> >>> >>>-- >>>View this message in context: >http://www.nabble.com/Error-in-new-version-tp25811453p26114161.html >>>Sent from the Knop Framework Discussion mailing list archive >>>at Nabble.com. >>> >>> >>>-- >>>############################################################# >>>This message is sent to you because you are subscribed to >>>the mailing list <knop@...>. >>>To unsubscribe, E-mail to: <knop-off@...> >>>Send administrative queries to <knop-request@...> >>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>>Project homepage http://montania.se/projects/knop/ >>>Google Code has the latest downloads at http://code.google.com/p/knop/ >> >> >>-- >>Johan Sölve [FSA Member, Lasso Partner] >>Web Application/Lasso/FileMaker Developer >>MONTANIA SOFTWARE & SOLUTIONS >>http://www.montania.se mailto:joh-n@... >>(spam-safe email address, replace '-' with 'a') >> >>-- >>############################################################# >>This message is sent to you because you are subscribed to >>the mailing list <knop@...>. >>To unsubscribe, E-mail to: <knop-off@...> >>Send administrative queries to <knop-request@...> >>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html >>Project homepage http://montania.se/projects/knop/ >>Google Code has the latest downloads at http://code.google.com/p/knop/ > >____________________________________ >Montania System AB >http://www.montania.se > >Conny Larsson > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@...> <http://www.StevePiercy.com/> -- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@...>. To unsubscribe, E-mail to: <knop-off@...> Send administrative queries to <knop-request@...> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/ |
| Free embeddable forum powered by Nabble | Forum Help |