All,

TestCapability is broken.  I will comment it in my
soon to come commit.

The error is below.  Not sure when we started getting
this:

------------- Standard Error -----------------
java.sql.SQLException: Unexpected token:
MEDIATYPE_TO_MIMETYPE in statement [SELECT
A0.TITLE,A0.MEDIATYPE_ID,A0.CHARACTER_SET,A0.NAME,A0.DESCRIPTION
FROM MEDIA_TYPE A0 INNER JOIN (MEDIATYPE_TO_MIMETYPE
A1 INNER JOIN MIMETYPE A2 ON
A1.MIMETYPE_ID=A2.MIMETYPE_ID) ON
A0.MEDIATYPE_ID=A1.MEDIATYPE_ID WHERE A2.NAME IN
('text/html','text/xml','text/xhtml')]
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Result.<init>(Unknown Source)
        at org.hsqldb.jdbcConnection.executeHSQL(Unknown
Source)
        at org.hsqldb.jdbcConnection.execute(Unknown Source)
        at org.hsqldb.jdbcStatement.fetchResult(Unknown
Source)
        at org.hsqldb.jdbcStatement.executeQuery(Unknown
Source)
        at
org.hsqldb.jdbcPreparedStatement.executeQuery(Unknown
Source)
        at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
        at
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:283)
        at
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
        at
org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java:183)
        at
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58)
        at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1808)
        at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1333)
        at
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:111)
        at
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:233)
        at
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:253)
        at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1217)
        at
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:338)
        at
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:338)
        at
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.getCollectionByQuery(PBStore.java:182)
        at
org.apache.jetspeed.capabilities.impl.JetspeedCapabilities.getMediaTypesForMimeTypes(JetspeedCapabilities.java:330)
        at
org.apache.jetspeed.capabilities.impl.JetspeedCapabilities.getCapabilityMap(JetspeedCapabilities.java:184)
        at
org.apache.jetspeed.capabilities.TestCapability.testCapability(TestCapability.java:86)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
junit.framework.TestCase.runTest(TestCase.java:154)
        at
junit.framework.TestCase.runBare(TestCase.java:127)
        at
junit.framework.TestResult$1.protect(TestResult.java:106)
        at
junit.framework.TestResult.runProtected(TestResult.java:124)
        at
junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at
junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)



                
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to