You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2015/10/29 17:28:28 UTC

[jira] [Created] (SLING-5219) Mounting a ResourceProvider makes it impossible to create child resources under it

Robert Munteanu created SLING-5219:
--------------------------------------

             Summary: Mounting a ResourceProvider makes it impossible to create child resources under it
                 Key: SLING-5219
                 URL: https://issues.apache.org/jira/browse/SLING-5219
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Post 2.3.6
            Reporter: Robert Munteanu


(I am not sure where the problem is exactly, but setting it under Servlets POST for now ).

Consider the following scenario:

* JCR provider mounted at {{/}}
* FS provider mounted at {{/content/blog/images}}
* No resources in the JCR repo for {{/content}} or {{/content/blog}}

A POST call to create {{/content}} or {{/content/blog}} ( I have used [httpie|https://github.com/jkbrzt/httpie] )  fails {noformat}http --auth=admin:admin -f POST http://localhost:8080 /content 'sling\:target=/content/blog/posts'{noformat}

If I remove the FS provider then the call succeeds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)