Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F448F00E for ; Thu, 30 May 2013 09:04:32 +0000 (UTC) Received: (qmail 45572 invoked by uid 500); 30 May 2013 09:04:31 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 45016 invoked by uid 500); 30 May 2013 09:04:23 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 44955 invoked by uid 99); 30 May 2013 09:04:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2013 09:04:20 +0000 Date: Thu, 30 May 2013 09:04:20 +0000 (UTC) From: "Daniel Lipp (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JCR-3602) Don't swallow exception infos when logging RepositoryException in ACLProvider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Lipp created JCR-3602: -------------------------------- Summary: Don't swallow exception infos when logging RepositoryException in ACLProvider Key: JCR-3602 URL: https://issues.apache.org/jira/browse/JCR-3602 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 2.6.1 Reporter: Daniel Lipp org.apache.jackrabbit.core.security.authorization.principalbased.ACLProvider#getEditor(Session) and acModified(AccessControlModifications) use the following catch for RepositoryExceptions: } catch (RepositoryException e) { // should never get here log.warn("Internal error: ", e.getMessage()); } Unfortunately the format string doesn't contain a variable so the message of the caught RepositoryException is swallowed. As there's no stacktrace either, users will only get "Internal error: " in their logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira