Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1615

When importing content all the nodes to the parent node must exists, whereas a Sling POST creates the node.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Post 2.1.0
    • Servlets
    • None

    Description

      If a POST with a that invokes the import operation is made to a path where the resource does not exist a 404 results.
      But if I do a normal Sling POST the node is created.
      This is inconsistent and requires http clients to make 2 posts where one would have worked.

      Perhaps the Import Operation should check to see of the resource is a NonExstingResource and create the path if not, at about line 88 of ImportOperation ?

      Attachments

        Activity

          People

            ianeboston Ian Boston
            ianeboston Ian Boston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: