jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Esnault <f...@legisway.com>
Subject RE: Reregistering node types
Date Wed, 13 Jun 2007 15:50:33 GMT
Actually there is a big problem with non trivial changes.

The thing is the involved method (checkForConflictingContent), called whenever you want to
make a non-trivial modification, is not implemented. The only way to safely change your types
would be to implement this method.

The export/import process you talk about implies that YOU do the check for conflicting content
when you update your exported data....and good luck to update the system view.

I think you'll have to :
a/ implement the method;
b/ wait for someone to implement it;
c/ don't make non-trivial changes...

Frédéric Esnault 

-----Message d'origine-----
De : Nicolas Dufour [mailto:nrdufour@gmail.com] 
Envoyé : mercredi 13 juin 2007 17:41
À : users@jackrabbit.apache.org
Objet : Re: Reregistering node types

Ok so I can change the repository gently, like a slow evolution.

And I imagine that if I need to include a non trivial change, I will have to
create a kind of migration process with export and reimport.

Any ideas for the long term of a repository ?


On 6/13/07, Christoph Kiehl <christoph@sulu3000.de> wrote:
> Frédéric Esnault wrote:
> > Adding a property may cause this problem if the property is mandatory.
> > What is possible now is to make a 'trivial' modification of a node type.
> Oh yes, you're right! I forgot about mandatory properies.
> BR,
> Christoph

View raw message