jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tobias.bocane...@day.com>
Subject Re: adding two time the same label for history...
Date Thu, 10 Nov 2005 09:46:44 GMT
can you provide your code example?

On 11/9/05, Tomasz Dabrowski <Tomasz.Dabrowski@cognifide.com> wrote:
> In JSR-170 javadocs there is written for
> VersionHistory.addLabel(java.lang.String versionName, java.lang.String
> label, boolean moveLabel):
>
> "VersionException - if an attempt is made to add an existing label to a
> version history and moveLabel is false or if the specifed version does
> not exist in this version history or if the specified version is the
> root version (jcr:rootVersion)."
>
> I wrote simple prototype trying to add two time the same label for the
> same history. My moveLabel was set to FALSE so I should get exception
> VersionException. Unfortunately I didn't. Does anybody have similar
> problem?
>
> Thanks in advance,
> Tomek
>
> --
> Tomasz Dabrowski
> email: tomasz.dabrowski@cognifide.com
> www: www.cognifide.com
>


--
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message