List Info

Thread: DO NOT REPLY New: - provide user feedback for missing (or invalid) search parameter




DO NOT REPLY New: - provide user feedback for missing (or invalid) search parameter
country flaguser name
United States
2008-02-23 10:02:55
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=
44475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44475


           Summary: provide user feedback for missing (or
invalid) search
                    parameter
           Product: Lenya
           Version: Trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Lucene Integration
        AssignedTo: devlenya.apache.org
        ReportedBy: ragallerapache.org


currently the search usecase results in a error when the
search string

a) is empty (occurs
when clicking on "Go" or when clicking on a
language icon on the search results page (see
43816)
b) starts with a "+"
c) starts with a "*"

(maybe some more...)

I think it would
be nice to let the user know what happened and describe the
problem on the (empty) search
results page

a) "Your search  must not contain more than 1
character"
b)/c) "Your search
 must not start with the keyword + or *"

I was trying to find the right place to check
the parameters and provide feedback

- regex matcher in lucene/sitemap.xmap?
- implement
the parameter checking in search.jx?
- or rather using java?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=e
mail
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY provide user feedback for missing (or invalid) search parameter
country flaguser name
United States
2008-03-26 06:05:39
https://issues.apache.org/bugzilla/show_bug.cgi?id=44475






--- Comment #1 from Andreas Hartmann <andreasapache.org>  2008-03-26 04:05:39 PST ---
IMO the SearchGenerator should handle this, so it's a Cocoon
bug. They would
certainly be glad about a patch, though. Maybe we can ask on
the Cocoon user
mailing list if someone has already resolved this issue.

BTW, empty search strings are handled now (no search is
issued).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=e
mail
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )