You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/07/30 19:01:16 UTC

[jira] Commented: (SLING-1619) attempting to automatically set a protected property shouldn't cause a failure

    [ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894076#action_12894076 ] 

Felix Meschberger commented on SLING-1619:
------------------------------------------

I am not sure here.

The user/browser explicitly requested to set the jcr:created property, but this is not possible, thus we should return respective feedback, which would be an error message here.

> attempting to automatically set a protected property shouldn't cause a failure
> ------------------------------------------------------------------------------
>
>                 Key: SLING-1619
>                 URL: https://issues.apache.org/jira/browse/SLING-1619
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Servlets Post 2.0.6
>
>
> this:
> curl -u admin:admin "-Fjcr:created=doit" "-Fjcr:primaryType=sling:Folder" http://localhost:9888/test/content/folder
> currently returns an error because jcr:created is a protected property in nt:hierarchyNode.
> We should just skip this property

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