jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@day.com>
Subject Re: testing node type management
Date Wed, 08 Jul 2009 08:17:29 GMT
Hi,

On Tue, Jul 7, 2009 at 15:41, Julian Reschke<julian.reschke@gmx.de> wrote:
> <https://issues.apache.org/jira/browse/JCR-1591> indicates that only
> registration, but not removal is supported.
>
> Looking at the Javadoc for the unregister methods, I don't see this case
> considered. So, should we consider this a missing feature of the RI?

to me, it seems the spec is not clear enough about unregistering node
types. e.g. what happens if there still is content using that node
type? AFAICS the spec only talks about collisions when updating a node
type. and for that case there's also a repository descriptor:
NODE_TYPE_MANAGEMENT_UPDATE_IN_USE_SUPORTED. at least in the spec. I
just saw that it is missing in the Repository interface :-/
(https://jsr-283.dev.java.net/issues/show_bug.cgi?id=793). I think for
unregistration there should be something similar.

regards
 marcel

> And, again, how should the TCK deal with it?
>
> BR, Julian
>
>
>
>
>

Mime
View raw message