You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2009/08/24 15:59:59 UTC

[jira] Reopened: (SLING-1073) SlingFileUploadHandler removes any existing nodes, preventing file upload versioning

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

Ian Boston reopened SLING-1073:
-------------------------------

      Assignee: Ian Boston

was not added to the launchpad bundles, reopening.

> SlingFileUploadHandler removes any existing nodes, preventing file upload versioning
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-1073
>                 URL: https://issues.apache.org/jira/browse/SLING-1073
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.4
>            Reporter: Arthur Taylor
>            Assignee: Ian Boston
>             Fix For: Servlets Post 2.0.6
>
>         Attachments: patch.txt, patch2.txt
>
>
> When uploading a file to the location of an existing file, the SlingFileUploadHandler removes the old node before creating the new one. That's sometimes necessary, for example in the cases where a typeHint is provided for the upload that differs from the type of the existing node, but it's not always required. The current behaviour prevents us maintaining a version history for uploaded resources.
> I'll attach a patch for this in a sec.

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