jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemo Pakulski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-529) New versions added after a restore have bad version name
Date Thu, 14 Dec 2006 10:25:23 GMT
    [ http://issues.apache.org/jira/browse/JCR-529?page=comments#action_12458415 ] 
            
Przemo Pakulski commented on JCR-529:
-------------------------------------

It seems that after applying patch test org.apache.jackrabbit.core.XATest.#testXAVersionsThoroughly
fails.

junit.framework.ComparisonFailure: checkin N1 uncommitted. Version Name expected:<1.1.1>
but was:<1.0.1>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at org.apache.jackrabbit.core.XATest.check(XATest.java:1140)
	at org.apache.jackrabbit.core.XATest.testXAVersionsThoroughly(XATest.java:1080)
	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:154)
	at org.apache.jackrabbit.core.XATest.runTest(XATest.java:96)
	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 org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:393)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)


> New versions added after a restore have bad version name
> --------------------------------------------------------
>
>                 Key: JCR-529
>                 URL: http://issues.apache.org/jira/browse/JCR-529
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: versioning
>         Environment: Ubuntu Dapper
>            Reporter: Paco Avila
>         Assigned To: Tobias Bocanegra
>         Attachments: AbstractVersionManager.diff, DummyVersion.java
>
>
> I add several versions to a node (1.0, 1.1, 1.2, 1.3, 1.4). Perform a restore to version
1.2 and add more versions. After that VersionHistory is like this:
> - 1.0
> - 1.1
> - 1.2
> - 1.3
> - 1.4
> - 1.3.1
> - 1.3.2
> - 1.3.3
> - 1.3.4
> - 1.3.5
> New versions should be 1.2.x no 1.3.x, isn't it?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message