Error when calling exportValues on a DocumentPartImpl that contains a Blob
--------------------------------------------------------------------------
Key: NXP-3796
URL: http://jira.nuxeo.org/browse/NXP-3796
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Core
Affects Versions: 5.2 GA
Reporter: Thierry Delprat
Assignee: Thierry Delprat
Priority: Major
Fix For: 5.2.1
java.lang.ClassCastException: org.nuxeo.ecm.core.storage.sql.coremodel.SQLBlob
at
org.nuxeo.ecm.core.api.model.ValueExporter.visit(ValueExporter.java:116)
at
org.nuxeo.ecm.core.api.model.impl.ScalarProperty.accept(ScalarProperty.java:125)
at
org.nuxeo.ecm.core.api.model.impl.ComplexProperty.visitChildren(ComplexProperty.java:242)
at
org.nuxeo.ecm.core.api.model.impl.MapProperty.accept(MapProperty.java:85)
at
org.nuxeo.ecm.core.api.model.impl.ComplexProperty.visitChildren(ComplexProperty.java:242)
at
org.nuxeo.ecm.core.api.model.impl.DocumentPartImpl.accept(DocumentPartImpl.java:125)
at org.nuxeo.ecm.core.api.model.ValueExporter.run(ValueExporter.java:48)
at
org.nuxeo.ecm.core.api.model.impl.DocumentPartImpl.exportValues(DocumentPartImpl.java:115)
at
org.nuxeo.ecm.platform.csv.exporter.CSVExporterImpl.extractDocValues(CSVExporterImpl.java:159)
at
org.nuxeo.ecm.platform.csv.exporter.tests.TestExport.testDocMetaDataRead(TestExport.java:76)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets