[daisy] [JIRA] Commented: (DSY-522) variantLastModified testcase in LocalQuery2Test fails with PostgreSQL as database

Andreas Deininger (JIRA) issues at cocoondev.org
Wed Aug 1 15:35:50 CDT 2007


    [ http://issues.cocoondev.org//browse/DSY-522?page=comments#action_13293 ] 

Andreas Deininger commented on DSY-522:
---------------------------------------

Also, the repository testcase for versionStateLastModified inside LocalQuery2Test fails with almost the same stacktrace
Offending test statement: select versionStateLastModified where versionStateLastModified <= " + QueryHelper.formatDateTime(new Date()) + " and id = xxx

> variantLastModified testcase in LocalQuery2Test fails with PostgreSQL as database
> ---------------------------------------------------------------------------------
>
>          Key: DSY-522
>          URL: http://issues.cocoondev.org//browse/DSY-522
>      Project: Daisy
>         Type: Bug
>   Components: Repository, Repository - querying and indexing
>     Versions: 2.1
>  Environment: SVN 4286
>     Reporter: Andreas Deininger
>     Priority: Minor

>
> The repository testcase for variantLastModified inside LocalQuery2Test fails if PostgreSQL is used as SQL database (however not sure whether this is related to the use of PostgreSQL at all):
> Offending test statement: select variantLastModified where variantLastModified = " + QueryHelper.formatDateTime(document.getVariantLastModified()) + " and id = 'xxx
> Testcase: testQuery(org.outerj.daisy.repository.test.LocalQuery2Test):	Caused an ERROR
> null
> java.lang.IndexOutOfBoundsException
> 	at org.outerx.daisy.x10.impl.SearchResultDocumentImpl$SearchResultImpl$RowsImpl.getRowArray(Unknown Source)
> 	at org.outerj.daisy.repository.test.AbstractQuery2Test.testQuery(AbstractQuery2Test.java:369)

-- 
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