topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 12:56 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: FScript 1.9: querynokeyword problem  (Read 4372 times)

wuwei23

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 28
    • View Profile
    • Donate to Member
FScript 1.9: querynokeyword problem
« on: December 08, 2009, 11:31 PM »
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
    • View Profile
    • Donate to Member
Re: FScript 1.9: querynokeyword problem
« Reply #1 on: December 09, 2009, 02:24 AM »
I'm afraid it's what you currently have to expect. See here:

https://www.donation....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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FScript 1.9: querynokeyword problem
« Reply #2 on: December 09, 2009, 07:32 AM »
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,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FScript 1.9: querynokeyword problem
« Reply #3 on: December 09, 2009, 07:34 AM »
can you see if you type something like:
trac +foo test +bar

whether it strips out the +words in querynokeyword?