You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Matthias Reischenbacher <ma...@gmx.at> on 2007/05/11 17:24:57 UTC
Versioning Problem with branches - RevisionDescriptorNotFoundException
Hey,
we are implementing a content management system on top of slide. In the
last days we tried to use as well the (DeltaV)webdav versioning
extensions in order to provide a versioning feature in our CMS. But it
doesn't seem to work properly, when the version tree of our version
controlled resources gets branched.
All calls to slide are made with the webdav client library
(org.apache.webdav.lib).
What we could do without no problem:
* put a resource under version control
version controlled resource:
foo.html
* make some versions by executing the CHECKOUT/CHECKIN methods
version history
history/1/foo.1.0
history/1/foo.1.1
history/1/foo.1.2
* Change the current version from "history/1/foo.1.2" to
"history/1/foo.1.0" by executing the UPDATE method.
* Create the following version tree by executing CHECKOUT and CHECKIN to
make a new version (history/1/foo.1.0.1) which would be the second child
of "history/1/foo.1.0". --> Here the version tree gets branched
history/1/foo.1.0
history/1/foo.1.0.1
history/1/foo.1.1
history/1/foo.1.2
Where the problem ocurred:
* When we want to make a CHECKOUT operation on foo.html (which is now
referencing "history/1/foo.1.0.1" as the current version), we are
getting a RevisionDescriptorNotFoundException.
That's the exact error message we get:
org.apache.slide.content.RevisionDescriptorNotFoundException: No
revision descriptor found on object /history/1
Does anybody have a suggestion why this problem occurs?
Here I post my configuration parameters respecting the DeltaV versioning
functionalities:
<parameter name="historypath">/history</parameter>
<parameter name="workspacepath">/workspace</parameter>
<parameter name="workingresourcepath">/workingresource</parameter>
<parameter name="auto-version">checkout-checkin</parameter>
<parameter name="auto-version-control">false</parameter>
<parameter name="versioncontrol-exclude"/>
<parameter name="checkout-fork">discouraged</parameter>
<parameter name="checkin-fork">discouraged</parameter>
Some help would be very appreciated...
Matthias Reischenbacher
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org