[
https://issues.apache.org/jira/browse/SLING-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657520#action_12657520
]
Tobias Bocanegra commented on SLING-784:
----------------------------------------
imo the mixins should work the same as other MV properties. eg:
POST /test
./title = "Hello"
--> no mixins altered
POST/ /test
./title = "hello"
./jcr:mixinTypes = "a"
./jcr:mixinTypes = "b"
--> has the effect, that "test' has the mixins "a" and "b" irrespective what it
had before
POST/ /test
./title = "hello"
./jcr:mixinty...@delete
--> removes all mixins from 'test'
> 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.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.