[dna-issues] [JBoss JIRA] Resolved: (DNA-447) Make REST PUT Method Support add/removeMixin Like POST Method

Brian Carothers (JIRA) jira-events at lists.jboss.org
Wed Jun 10 15:57:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers resolved DNA-447.
---------------------------------

    Fix Version/s: 0.5
                       (was: 1.0)
       Resolution: Done


Added check to JcrResources.setPropertyOnNode to handle the special case of the jcr:mixinTypes property and a corresponding test case.

Also added missing node.save() call for PUT handler.


> Make REST PUT Method Support add/removeMixin Like POST Method
> -------------------------------------------------------------
>
>                 Key: DNA-447
>                 URL: https://jira.jboss.org/jira/browse/DNA-447
>             Project: DNA
>          Issue Type: Bug
>          Components: JCR, Server
>    Affects Versions: 0.4
>            Reporter: Brian Carothers
>            Assignee: Brian Carothers
>            Priority: Minor
>             Fix For: 0.5
>
>
> The REST POST method automatically translates the jcr:mixinTypes property (if set on the request) into a series of addMixin calls.  The PUT method should compare the jcr:mixinTypes property (if present) to the existing mixin types for the node and attempt to add or remove mixin types as needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list