[daisy] [JIRA] Updated: (DSY-520) ROUND() function in
LocalQuery2Test fails with PostgreSQL as database
Bruno Dumon (JIRA)
issues at cocoondev.org
Wed Aug 1 11:56:50 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-520?page=all ]
Bruno Dumon updated DSY-520:
----------------------------
Component: Repository - database support
(was: Repository)
(was: Repository - querying and indexing)
> ROUND() function in LocalQuery2Test fails with PostgreSQL as database
> ---------------------------------------------------------------------
>
> Key: DSY-520
> URL: http://issues.cocoondev.org//browse/DSY-520
> Project: Daisy
> Type: Bug
> Components: Repository - database support
> Versions: 2.1
> Environment: SVN 4284
> Reporter: Andreas Deininger
> Priority: Minor
>
> The repository testcase 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 Round(5.22, 1), Round(5.28, 1), Round(5.25, 1) where Round(5.22, 1) = 5.2 and Round(5.28, 1) = 5.3 and Round(5.25, 1) = 5.2 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:506)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
--
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