You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/07/29 10:12:32 UTC

[jira] Commented: (SLING-588) Sling ignores specified node path when creating content

    [ https://issues.apache.org/jira/browse/SLING-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617735#action_12617735 ] 

Tobias Bocanegra commented on SLING-588:
----------------------------------------

i would rather not change the way how node paths are computer for POST requests.
for your example you can use the workaround to specify deep paths in the property names, eg:

<form method="POST" action="/">
<input type="hidden" value="/test.css" name=":redirect"/>
<input type="hidden" value="nt:file" name="./test.css/jcr:primaryType"/>
<input type="hidden" value="nt:resource" name="./test.css/jcr:content/jcr:primaryType"/>
<input type="hidden" value="text/css" name="./test.css/jcr:content/jcr:mimeType"/>
<input type="hidden" value="" name="./test.css/jcr:content/jcr:lastModified"/>



> Sling ignores specified node path when creating content
> -------------------------------------------------------
>
>                 Key: SLING-588
>                 URL: https://issues.apache.org/jira/browse/SLING-588
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Lars Trieloff
>         Attachments: SLING-588.patch
>
>
> As described here: http://markmail.org/message/u3be3mpaal4efngj Sling will ignore the node path specified in the HTTP request when creating contents which makes it impossible to create nodes with a dot in the node name from a form post.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.