sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <>
Subject Re: rapid development primer example doesn't work
Date Fri, 21 Sep 2007 15:14:13 GMT
Hi Edgar,

This is actually probably a bug in the sling:Content node type
definition, which reads:

  - sling:contentClass (String)
    = ''
    copy mandatory

The intent was, that the sling:contentClass property is automatically
created, which does not seem to be the case. I have fixed this in the
core project.

Unfortunately, node type management is a nightmare currently in
Jackrabbit and Sling only has the CND-file install mechanism to register
node types, you will either have to destroy the repository or to
manually modify the node type definition. Sorry.

Hope this helps.


Am Freitag, den 21.09.2007, 11:32 -0300 schrieb Edgar Poce:
> Hi,
>  I tried to follow the instructions under the section "Rapid
> Development Primer" at
> and I couldn't make it work. I think it's probably outdated, the
> repository throws an exception on save with the message "mandatory
> property {}cont
> entClass does not exist". Is there any step missing in the docs?
> thanks in advance,
> Edgar

View raw message