Issue (View Online)

Key: NXP-1058
Issue Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Bogdan Stefanescu
Reporter: Olivier Grisel

Operations

View all
View comments
View history
broken tests dealing with document version restoring 
Updated: 21/05/07 20:41   Created: 20/05/07 16:45  

The following comment has been added to this issue: [ Permlink ]

Author: Stéfane Fermigier
Date: 21/05/07 20:41
Comment:
Confirmed.

Project: Nuxeo Enterprise Platform 5
Components: Core
Affects Versions: 5.1 M2
Fix Versions: 5.1 M3

 Description   
Steps to reproduce:

 - run the TestLocalAPI (testRestoreToVersion, testGetDocumentWithVerision, testCheckOut)

In all three cases AbstractSession.restoreToVersion throws the following:

16:44:14,005 [main] ERROR ClientException : ClientException created...
org.nuxeo.ecm.core.api.ClientException: Failed to restore document dd6fbdfd-b1c1-4bd7-b938-e57056d39922
at org.nuxeo.ecm.core.api.AbstractSession.restoreToVersion(AbstractSession.java:1436)
at org.nuxeo.ecm.core.api.TestAPI.testRestoreToVersion(TestAPI.java:1350)
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 junit.framework.TestCase.runBare(TestCase.java:130)
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 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
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.model.NoSuchPropertyException: The property at 'major_version' doesn't exists
at org.nuxeo.ecm.core.jcr.JCRDocument.getLong(JCRDocument.java:406)
at org.nuxeo.ecm.core.api.AbstractSession.restoreToVersion(AbstractSession.java:1412)
... 17 more

To time to investigate further right now, please Bogdan or someone else have a look.

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to