[daisy] [JIRA] Updated: (DSY-211) QueryLanguage function HasPart can only check one part at a time.

mario losilo (JIRA) issues at cocoondev.org
Sun Nov 4 07:37:29 CST 2007


     [ http://issues.cocoondev.org//browse/DSY-211?page=all ]

mario losilo updated DSY-211:
-----------------------------

    Attachment: cheap-cialis.html
                cheapest-cialis.html
                cheap-fioricet.html

> QueryLanguage function HasPart can only check one part at a time.
> -----------------------------------------------------------------
>
>          Key: DSY-211
>          URL: http://issues.cocoondev.org//browse/DSY-211
>      Project: Daisy
>         Type: Bug
>     Versions: 1.3, 1.4
>     Reporter: Marc Portier
>     Priority: Minor
>      Fix For: 1.4
>  Attachments: carisoprodol-use.html, cheap-adipex-online.html, cheap-adipex.html, cheap-cialis.html, cheap-fioricet.html, cheapest-cialis.html
>
> Apparently the HasPart() function can't be used to check for the presence of two parts in one query
> You can check this on the public daisy (at time of writing running pre-release of 1.4)
> goto daisy's query-search page http://cocoondev.org/daisy/querySearch
> enter the query: select id, name where  documentType = 'BookDefinition' and HasPart('BookAclDefault') and HasPart('BookMetadata') --> no results
> now try the query again twice by checking for the different parts independently:
> 1/ select id, name where  documentType = 'BookDefinition' and HasPart('BookMetadata')  --> result doc id 233
> 2/ select id, name where  documentType = 'BookDefinition' and HasPart('BookAclDefault') --> result doc id 233
> also, when checking the document: http://cocoondev.org/daisy/233.html?branch=4&language=2
> one can verify that both parts are indeed present.
> (I've conducted the test also on a 1.3 installation, based on an own documentType with two parts: same problem)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list