You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2007/11/12 00:20:50 UTC
[jira] Created: (SLING-102) Directory creation incorrect
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
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.
[jira] Updated: (SLING-102) Directory creation incorrect
Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ross Gardler updated SLING-102:
-------------------------------
Attachment: pathCreation.diff
If we have a current node it does not always mean we have the right path.
> 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.
[jira] Resolved: (SLING-102) Directory creation incorrect
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ 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.