Uploaded image for project: '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
    • Status: Closed
    • Priority: 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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: