jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Constraint violation on new nt:folder childNodes
Date Mon, 03 May 2010 13:53:39 GMT
On Mon, May 3, 2010 at 3:46 PM, ChadDavis <chadmichaeldavis@gmail.com> wrote:
> On Mon, May 3, 2010 at 7:30 AM, wildes miranda oliveira
> <wildes.miranda@gmail.com> wrote:
>> hi guys, is correct to constrain childNode types on a nt:folder node ? Im
>> using 2.0 version and getting following exception on create a childNode with
>> custom type on nt:folder node.
>
> Absolutely.  See the node type definition for nt:folder in the
> specification.  I believe it's restricted to nt:folder and nt:file.

nt:hierarchyNode, to be precise [0]

cheers
stefan

[0] http://wiki.apache.org/jackrabbit/nt:folder

>

Mime
View raw message