Hi Tobias,

The issue I have is nothing allow

It's really simpler for me to update all protected nodes, restore the
version history and then switch back to the protection. However to do so, I
don't see any other option than adding a method reregisterBuiltIn in the
NodeTypeManager... I am not sure if it's a wise decision. Besides when I
try  commenting those check, the import is false. I think some reference are
out of date...

So unless you have a better idea, I have to implement an importXML method
for the Versioning. This method will have to be in core and would import any
/jcr:system/jcr:versionStorage of Jackrabbit.

What do you think of this solution? Do you have a better idea?

Nico

On 8/7/06, Nicolas <[EMAIL PROTECTED]> wrote:



---------- Forwarded message ----------
From: Nicolas < [EMAIL PROTECTED]>
Date: Aug 7, 2006 11:33 AM
Subject: Re: Issue when restoring the Node version history
To: [EMAIL PROTECTED]

Yes that's why I thought :)

I do think however, adding an import method to the VersionManager is way
more elegant. Do you agree?


On 8/7/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote:
>
> > Why wouldn't it work if we bypass the VersionManager?
>
> you would need to flush all the caches. but since you probably restart
> the repo anyways after restore, this might not be a problem.
>
> regards, toby
> --
> -----------------------------------------< [EMAIL PROTECTED] >---
> 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 >---
>



--
a+

Nico
my blog! http://www.deviant-abstraction.net !!


--
a+
Nico
my blog! http://www.deviant-abstraction.net !!




--
a+
Nico
my blog! http://www.deviant-abstraction.net !!

Reply via email to