Hi,

I encountered the following problem when trying to save a new revision of an existing document (I'm using the Slide-API):

When saving a new revision of a document the create-method of the default ContentImpl only increases the minor version of the document. My problem is that I want to create a new major version. How do I do that? I tried to set the NodeRevisionNumber manually but that didn't work because it is ignored by the content handler. And if I create the RevisionDescriptor myself (by calling uri.getStore().createRevisionDescriptor()) the descriptor isn't added to the descriptors-list and I cannot do that because the methods are package-private. Is there any way to create a document with a new major version or do I have to change the Slide sourcecode?

Thanks,
Volker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to