[
https://issues.apache.org/jira/browse/SLING-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Edelson resolved SLING-1741.
-----------------------------------
Resolution: Fixed
Fix Version/s: Servlets Post 2.1.2
> An exception should be thrown when trying to add a subnode to an nt:file-node
> -----------------------------------------------------------------------------
>
> Key: SLING-1741
> URL: https://issues.apache.org/jira/browse/SLING-1741
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Reporter: Clemens Wyss
> Assignee: Justin Edelson
> Fix For: Servlets Post 2.1.2
>
>
> The nt:file nodetype (without any other mixin node types assigned to the
> node) only supports one single child
> node whose name is "jcr:content". Hence when you try to add a subnode to an
> nt:file node you should be getting an error/exception...
> This is not the case though
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira