You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/03/29 16:25:41 UTC
[jira] [Comment Edited] (SLING-6747) User Manager: Support setting
nested user properties
[ https://issues.apache.org/jira/browse/SLING-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947428#comment-15947428 ]
Konrad Windszus edited comment on SLING-6747 at 3/29/17 4:25 PM:
-----------------------------------------------------------------
The reason for that limitation is that {{RequestProperty.getName()}} is used everywhere in https://github.com/apache/sling/blob/trunk/bundles/jcr/jackrabbit-usermanager/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/post/AbstractAuthorizablePostServlet.java#L318 instead of {{RequestProperty.getPath()}}. In addition there is an explicit check for nested property names in https://github.com/apache/sling/blob/trunk/bundles/jcr/jackrabbit-usermanager/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/post/AbstractAuthorizablePostServlet.java#L115 which skips all those parameters.
was (Author: kwin):
The reason for that limitation is that {{RequestProperty.getName()}} is used everywhere in https://github.com/apache/sling/blob/trunk/bundles/jcr/jackrabbit-usermanager/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/post/AbstractAuthorizablePostServlet.java#L318 instead of {{RequestProperty.getPath()}}.
> User Manager: Support setting nested user properties
> ----------------------------------------------------
>
> Key: SLING-6747
> URL: https://issues.apache.org/jira/browse/SLING-6747
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Jackrabbit User Manager 2.2.4
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
>
> Currently if a property like {{preferences/myproperty}} is set to any value through the POST request to e.g. /system/userManager/user/admin.update.html the according property is not correctly set, but the response does also not indicate any error.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)