DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: FScript 1.9: querynokeyword problem  (Read 6,247 times)

wuwei23

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 28
FScript 1.9: querynokeyword problem
« on: December 09, 2009, 05:31 AM »
Hey everyone,

I'm currently learning the FARR plugin model & FScript by endeavouring to write a plugin that can manipulate Trac sites via XML-RPC.

I'm not sure if this is an issue with FScript or with my understanding, but I've hit a problem with the querynokeyword parameter being passed to onSearchBegin. The docs say that "querynokeyword is the query without alias", but the value I'm receiving is always exactly the same as the value in queryraw.

So with an alias string of 'trac', when I enter 'trac test', both querynokeyword and queryraw return the value 'trac test', whereas from my reading of the docs I'm expecting querynokeyword to be 'test'.

Is that what I should expect or have I got it all wrong?

Cheers!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • Participated in NANY Challenge Seven Times
    • Plugin Coding Medal
Re: FScript 1.9: querynokeyword problem
« Reply #1 on: December 09, 2009, 08:24 AM »
I'm afraid it's what you currently have to expect. See here:

http://www.donationcoder.com/forum/index.php?topic=11804.msg136530#msg136530

Seems like mouser didn't address this issue yet. Most certainly because he's not aware of it ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FScript 1.9: querynokeyword problem
« Reply #2 on: December 09, 2009, 01:32 PM »
hmm.. let me go check this out and report -- i thought that i did fix this.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FScript 1.9: querynokeyword problem
« Reply #3 on: December 09, 2009, 01:34 PM »
can you see if you type something like:
trac +foo test +bar

whether it strips out the +words in querynokeyword?

Original address: https://www.donationcoder.com/forum/index.php?topic=20910.0