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

Alexander Saar updated SLING-784:
---------------------------------

    Attachment: post-servlet-change-mixins-refactored.diff

refactored patch containing the suggestions from tobi and felix. adding new 
mixins to existing nodes is done in processCreate and deleting all existing 
mixins via ./jcr:mixinty...@delete is implemented in processDeletes. so far no 
test cases but there is already another issue from bertrand for that. in my 
tests it worked well.

> SlingPostServlet does not allow setting mixin types on existing nodes
> ---------------------------------------------------------------------
>
>                 Key: SLING-784
>                 URL: https://issues.apache.org/jira/browse/SLING-784
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets Post
>            Reporter: Alexander Saar
>         Attachments: post-servlet-change-mixins-refactored.diff, 
> post-servlet-change-mixins.diff
>
>
> the current implementation of the sling POST servlet allows to specify mixin 
> node types when a new node is created, but it is not possible to add/change 
> mixin node types of existing nodes. I suggest to add this funtionality 
> because it is a common use case that you want to set properties which are 
> defined in mixin node types (eg adding some meta data to a file).

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

Reply via email to