I don't know what to change in upgrader to fix this, or what the proper
behaviour should be, with sites like OCAL will be difficult since in
installer/upgrader every Aiki widget have it's own id, they are
hardcoded in sql insert queries and they are counted from 0 or 1, and
in ocal widgets start from 14, there is widget 9 - aikiadmin_login, and
other Aiki widgets are hidden.

And I think that both engines use the same functions for extracting
arguments - mtoken (there was one bug in arguments that you need comma
after argument, when that bug was fixed it probably introduce this one)

On Thu, 22 Mar 2012 12:35:08 -0000
rejon <[email protected]> wrote:

> this is the old engine right? What about the new engine?
> 
> Really though we need this fixed, as we saw some nasty bugs in the
> pekin translations from some problems like this
> 
> On Thu, Mar 22, 2012 at 7:37 PM, Jakub Jankiewicz
> <[email protected]> wrote:
> > More info about the bug
> >
> > function a($a, $b) { return $a . $b; }
> >
> > for this
> > (script( $aiki->test->a('abs', 'bsd'); )script)
> >
> > returns abs'bsd'
> >
> > function a($a) { return $a; }
> >
> > for
> > (script( $aiki->test->b('abs'); )script)
> >
> > returns abs'
> >
> > so probalby mtoken function is have bugs (if new (script( use it)
> >
> > ** Summary changed:
> >
> > - Quote is not remove from argument
> > + Quote is not remove from argument in extension call
> >
> > ** Changed in: aikiframework
> >    Milestone: None => 0.9.1
> >
> > ** Changed in: aikiframework
> >   Importance: Undecided => High
> >
> > --
> > You received this bug notification because you are subscribed to
> > aikiframework.
> > https://bugs.launchpad.net/bugs/962055
> >
> > Title:
> >  Quote is not remove from argument in extension call
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/aikiframework/+bug/962055/+subscriptions
> 
> 

--
Jakub Jankiewicz
twitter: @jcubic
www: http://jcubic.pl

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/962055

Title:
  Quote is not remove from argument in extension call

Status in Aiki Framework:
  New

Bug description:
  if you execute extension as this
  (script( $aiki->json->rpc('(!(1)!)'); 
)script)​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

  and call with /rpc/system it pass system' into extension the same is
  if you put double quotes.

  quick fix is to not use quotes, Aiki now handle double open parentheses 
properly in this case
  (script( $aiki->json->rpc((!(1)!)); 
)script)​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

  but this should be fix in Aiki

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/962055/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to