[
http://jira.nuxeo.org/browse/NXP-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37620#action_37620
]
Anahide Tchertchian commented on NXP-2467:
------------------------------------------
org.nuxeo.ecm.core.api.ClientException: Failed to create document model
at
org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:367)
at
org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:428)
at
org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:705)
at
org.nuxeo.ecm.core.repository.jcr.model.TestPropertyModel.testCreationWithDefaultPrefetch(TestPropertyModel.java:54)
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:597)
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)
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
org.nuxeo.ecm.core.model.NoSuchPropertyException. message: The property at
'icon' doesn't exists
at
org.nuxeo.ecm.core.repository.jcr.properties.PropertyFactory.getProperty(PropertyFactory.java:84)
at
org.nuxeo.ecm.core.repository.jcr.JCRDocument.getProperty(JCRDocument.java:466)
at
org.nuxeo.ecm.core.repository.jcr.JCRDocument.getPropertyValue(JCRDocument.java:543)
at
org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:185)
at
org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:365)
... 21 more
> Fix failure of document creation when default prefetch fields are not found
> ont he document type
> ------------------------------------------------------------------------------------------------
>
> Key: NXP-2467
> URL: http://jira.nuxeo.org/browse/NXP-2467
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.1.4, 5.2 M1
> Reporter: Anahide Tchertchian
> Assignee: Thierry Delprat
> Priority: Major
> Fix For: 5.1.5
>
>
> When creating a document that does not have the usual schemas (dublincore,
> common) and does not define any prefetch fields definition, the document
> creation fails because default prefetch fields are not found.
--
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