OK, so the problem here is that the search textbox accepts a regular
expression as input [1]. Well, "?home" is an illegal regular expression. I
guess the thing to do here is to display a more friendly error message? Or
were you looking for some other behavior? 

 

[1] 

"So you have a problem and you want to use regular expressions to solve it.
Now you have two problems." 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helen
Ersando
Sent: Thursday, August 02, 2007 11:16 PM
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] About Flexwiki's Authentication and
Authorization

 

 

On 8/3/07, Craig Andera <[EMAIL PROTECTED]> wrote:

> > also... what's the latest stable version that i can download... one
> > that will not plug an error on 'rename' and special characters on
> > search (i.e. user types ?,\, /, *, etc on the search input box)... 
>
> I'm pretty sure that 2.0.0.72 fixes the rename bug. Not sure about
> search.
> If it's still busted in 2.0.0.72, we'll log a bug and fix it in short 
> order.

I just did a quick check and ? doesn't seem to break anything.


? being appended to a keyword wont break anything... but just '?' on the
input box or ' ?' at the start of the keyword (i.e. ?home) will display this
error message


parsing "?" - Quantifier {x,y} following nothing. 


Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.ArgumentException: parsing "?" - Quantifier {x,y}
following nothing.

....


parsing "?home" - Quantifier {x,y} following nothing. 


Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.ArgumentException: parsing "?home" - Quantifier
{x,y} following nothing.

this is also the same with * (asterisk) and \ (backslash)... 


parsing "\" - Illegal \ at end of pattern. 


Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.ArgumentException: parsing "\" - Illegal \ at end
of pattern.

 

> > generally, how is the search results rendered? i supposed it is in
> > alphabetical order as what i've observed from flexwiki.com... but in
> > 2.0.0.52, i've observed that it's by what page is created first 
> (oldest
> > to newest)...
>
> Not sure. I'll look tomorrow and figure it out.

So, the answer is that the order is not defined. The search page asks each
namespace that's in scope for all topics, unsorted. Depending on a bunch of 
stuff, this could come back in any order.

I'm not sure what the correct behavior should be. Presumably lexical order.


i am using a database as a backend... 

i created this page (in order of creation) LinkToNewPage, FwSync,
WhatIsEverythingCalled, and ActiveTools... and when i do search, the results
are rendered thru that order too... but i observe in flexwiki.com that it is
really in alphabetical order... which is the one that we would want to... :)

also, about _ContentBaseDefinition, i have downloaded version 2.0.0.72...
still it plugs this error... (
<http://localhost/flexwiki-2.0.0.72/default.aspx/SqlNamespace/_ContentBaseDe
finition.html>
http://localhost/flexwiki-2.0.0.72/default.aspx/SqlNamespace/_ContentBaseDef
inition.html)


Object reference not set to an instance of an object. 


Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.


thanks,
helen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to