You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/07/30 18:56:17 UTC
[jira] Created: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
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.
[jira] Resolved: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1619.
-----------------------------------
Resolution: Fixed
> 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=" "-Fjcr:primaryType=sling:Folder" http://localhost:8888/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.
[jira] Commented: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894085#action_12894085 ]
Justin Edelson commented on SLING-1619:
---------------------------------------
but jcr:created is in fact being set, it is just being set by the repository, not Sling. The user shouldn't care who set it.
> 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.
[jira] Commented: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894089#action_12894089 ]
Felix Meschberger commented on SLING-1619:
------------------------------------------
Right, but in your request the user explicitly asks for setting the property to specific value. This is not possible and thus the user must be informed of that fact. It might part of the information to indicate why this is not possible.
> 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.
[jira] Commented: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-1619:
----------------------------------
Description:
this:
curl -u admin:admin "-Fjcr:created=" "-Fjcr:primaryType=sling:Folder" http://localhost:8888/test/content/folder
currently returns an error because jcr:created is a protected property in nt:hierarchyNode.
We should just skip this property
was:
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
OK... shouldn't have had a property value in there for jcr:created
> 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=" "-Fjcr:primaryType=sling:Folder" http://localhost:8888/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.
[jira] Commented: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894139#action_12894139 ]
Felix Meschberger commented on SLING-1619:
------------------------------------------
Makes sense then. Agreed. Thanks.
> 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=" "-Fjcr:primaryType=sling:Folder" http://localhost:8888/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.
[jira] Commented: (SLING-1619) attempting to automatically set a
protected property shouldn't cause a failure
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894145#action_12894145 ]
Justin Edelson commented on SLING-1619:
---------------------------------------
done in r980958
> 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=" "-Fjcr:primaryType=sling:Folder" http://localhost:8888/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.