You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2007/11/29 16:56:43 UTC

[jira] Resolved: (SLING-102) Directory creation incorrect

     [ https://issues.apache.org/jira/browse/SLING-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-102.
---------------------------------------

    Resolution: Cannot Reproduce

This has been fixed with the rewrite of the MicrojaxPostServlet.

I just added the PostServletCreateTest.testCreateNodeAtDeepUrl() method to demonstrate this, here's the HTTP traffic dump (the specified-location1196351533842 doesn't exist before the test):

POST /microjax-tests/1196351533842/specified-location1196351533842/deepA/deepB/1196351533842 

HTTP/1.1 302 Found
Location: http://localhost:8080/microjax-tests/1196351533842/specified-location1196351533842/deepA/deepB/1196351533842


> Directory creation incorrect
> ----------------------------
>
>                 Key: SLING-102
>                 URL: https://issues.apache.org/jira/browse/SLING-102
>             Project: Sling
>          Issue Type: Bug
>          Components: microsling
>            Reporter: Ross Gardler
>            Priority: Minor
>         Attachments: pathCreation.diff
>
>
> When creating a file in a subdirectory of an already existing directory an incorrect path is created. For example:
> "content/testing" exists
> creating a file in "content/doap/file-id" results in the file being created at "content/file-id" (i.e. without the sub directory).

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