You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michael Yin (JIRA)" <ji...@apache.org> on 2010/04/12 18:10:43 UTC

[jira] Created: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

SlingPostServlet saves operations that throw an error in the log but return 200 responses
-----------------------------------------------------------------------------------------

                 Key: SLING-1483
                 URL: https://issues.apache.org/jira/browse/SLING-1483
             Project: Sling
          Issue Type: Bug
          Components: Servlets
            Reporter: Michael Yin
            Priority: Minor


I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 

Here is one of the stack traces in the log

org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)

The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 


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

        

[jira] Reopened: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson reopened SLING-1483:
-----------------------------------


resolved by accident...

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Priority: Minor
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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

        

[jira] Closed: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-1483.
------------------------------------


Mark issues only relating to Sling API 2.1.0 release as closed (others to be closed once the respective versions are released)

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: API 2.1.0
>
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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


[jira] Commented: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856049#action_12856049 ] 

Justin Edelson commented on SLING-1483:
---------------------------------------

done in r933302

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Priority: Minor
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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

        

[jira] Resolved: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman resolved SLING-1483.
--------------------------------

    Fix Version/s: API 2.1.0
       Resolution: Fixed

This is probably a duplicate of SLING-1628.   Please verify.

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: API 2.1.0
>
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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


[jira] Commented: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Michael Yin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895699#action_12895699 ] 

Michael Yin commented on SLING-1483:
------------------------------------

I believe it is. I no longer work with Sling project that caused that error though.

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: API 2.1.0
>
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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


[jira] Resolved: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson resolved SLING-1483.
-----------------------------------

    Resolution: Fixed

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Priority: Minor
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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

        

[jira] Assigned: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman reassigned SLING-1483:
----------------------------------

    Assignee: Eric Norman

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Assignee: Eric Norman
>            Priority: Minor
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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


[jira] Updated: (SLING-1483) SlingPostServlet saves operations that throw an error in the log but return 200 responses

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson updated SLING-1483:
----------------------------------

    Comment: was deleted

(was: done in r933302)

> SlingPostServlet saves operations that throw an error in the log but return 200 responses
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-1483
>                 URL: https://issues.apache.org/jira/browse/SLING-1483
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Michael Yin
>            Priority: Minor
>
> I'm on a fairly recent trunk build, and when I do save operations with the sling post servlet, I'm  getting OK responses back from the servlet but I see errors in the sling log, and trying to retrieve the node again shows that the changes did not happen. 
> Here is one of the stack traces in the log
> org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing. javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
> 	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:303)
> 	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:277)
> 	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:235)
> 	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:690)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2418)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1560)
> 	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2139)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setPropertyAsIs(SlingPropertyValueHandler.java:278)
> 	at org.apache.sling.servlets.post.impl.helper.SlingPropertyValueHandler.setProperty(SlingPropertyValueHandler.java:106)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.writeContent(ModifyOperation.java:432)
> 	at org.apache.sling.servlets.post.impl.operations.ModifyOperation.doRun(ModifyOperation.java:100)
> 	at org.apache.sling.servlets.post.AbstractSlingPostOperation.run(AbstractSlingPostOperation.java:87)
> 	at org.apache.sling.servlets.post.impl.SlingPostServlet.doPost(SlingPostServlet.java:178)
> The node is not saved yet the http client is given a status of 200 which communicates that the request has succeeded. 

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