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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Post 2.1.2
    • Servlets
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: