You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:50:13 UTC

[sling-org-apache-sling-jcr-jackrabbit-usermanager] 09/14: add more logging

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.jcr.jackrabbit.usermanager-2.2.6
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-jackrabbit-usermanager.git

commit 08a264072f52e68c90a0ce453945ef3b2e8c1dfe
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Mar 30 10:46:20 2017 +0000

    add more logging
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-usermanager@1789494 13f79535-47bb-0310-9956-ffa450edef68
---
 .../jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
index 41aac80..753dd8e 100644
--- a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
+++ b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
@@ -229,6 +229,7 @@ public class AuthorizableValueMap implements ValueMap {
                 cache.put(MEMBER_OF_KEY, getMemberships(authorizable, true));
                 cache.put(DECLARED_MEMBER_OF_KEY, getMemberships(authorizable, false));
 
+                // only direct properties are supported here
                 Iterator<String> pi = authorizable.getPropertyNames();
                 while (pi.hasNext()) {
                     String key = (String) pi.next();
@@ -241,7 +242,7 @@ public class AuthorizableValueMap implements ValueMap {
 
                 fullyRead = true;
             } catch (RepositoryException re) {
-                // TODO: log !!
+                LOG.error("Could not access certain properties of user {}", authorizable, re);
             }
         }
     }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.