Ticket #494 (closed Bug)

Opened 3 years ago

Last modified 3 years ago

factebrowser defaultConditions can not contain a fulltext-query

Reported by: mpo@… Owned by:
Priority: Minor Milestone:
Component: Version: 2.1
Keywords: Cc:

Description

[jira2trac import : issue created on June 15, 2007 11:02:51 AM CEST http://issues.cocoondev.org/browse/DSY-494 ]

The query language has a known limitation for the usage of the FullText?() statement: it must be at the start of the where-clause.

So if one creates a facet-browser with a <defaultConditions> section
it would be quite logic that such should also start with a FullText?() (if you need one)

Helas: the FacetedBrowserApple? decides to insert the defaultConditions at the end of the statement (i.e. after facet conditions and other stuff)
the result is an invalid query statement and thus an error.

see
./applications/daisywiki/frontend/src/java/org/outerj/daisy/frontend/FacetedBrowserApple.java

Attachments

10662_dsy494.patch (1.4 KB) - added by paul 3 years ago.
dsy494.patch

Change History

Changed 3 years ago by paul

dsy494.patch

comment:1 Changed 3 years ago by paul

  • Status changed from new to closed

[jira2trac import : comment created by mpo on June 15, 2007 11:29:31 AM CEST]

attached patch solves the issue.
please cross check

comment:2 Changed 3 years ago by paul

[jira2trac import : comment created by paul on June 20, 2007 8:46:02 AM CEST]

in svn rev 4105

Note: See TracTickets for help on using tickets.