[daisy] [JIRA] Updated: (DSY-524) Substring() testcase in
LocalQuery2Test fails with PostgreSQL as database
Bruno Dumon (JIRA)
issues at cocoondev.org
Thu Aug 2 03:17:50 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-524?page=all ]
Bruno Dumon updated DSY-524:
----------------------------
Component: (was: Repository)
(was: Repository - querying and indexing)
> Substring() testcase in LocalQuery2Test fails with PostgreSQL as database
> -------------------------------------------------------------------------
>
> Key: DSY-524
> URL: http://issues.cocoondev.org//browse/DSY-524
> Project: Daisy
> Type: Bug
> Components: Repository - database support
> Versions: 2.1
> Environment: SVN 4286
> Reporter: Andreas Deininger
> Priority: Minor
>
> One of the testcases for the substring() function 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 name where Substring(name, 4, 4) = 'Docu' and id = '" + document = xxx
> Testcase: testQuery(org.outerj.daisy.repository.test.LocalQuery2Test): FAILED
> expected:<0> but was:<1>
> junit.framework.AssertionFailedError: expected:<0> but was:<1>
> at org.outerj.daisy.repository.test.AbstractQuery2Test.testQuery(AbstractQuery2Test.java:553)
--
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