[
https://issues.apache.org/jira/browse/SLING-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982823#comment-14982823
]
Carsten Ziegeler commented on SLING-5219:
-----------------------------------------
I think we need to update the post servlet to deal with this: treating a
synthetic resource as a non existing resource (null), looks like
AbstractCreateOperation#processCreate line 106, is the place to start
> 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)