Sling
  1. Sling
  2. SLING-1741

An exception should be thrown when trying to add a subnode to an nt:file-node

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Servlets Post 2.1.2
    • Component/s: Servlets
    • Labels:
      None

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Justin Edelson
            Reporter:
            Clemens Wyss
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development