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 447BF93D2 for ; Thu, 10 Nov 2011 08:59:15 +0000 (UTC) Received: (qmail 29335 invoked by uid 500); 10 Nov 2011 08:59:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 29240 invoked by uid 500); 10 Nov 2011 08:59:13 -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 28957 invoked by uid 99); 10 Nov 2011 08:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 08:59:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 08:59:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B458245FE8 for ; Thu, 10 Nov 2011 08:58:51 +0000 (UTC) Date: Thu, 10 Nov 2011 08:58:51 +0000 (UTC) From: "angela (Updated) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1555009664.16885.1320915531740.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1610289994.16884.1320915531693.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-3143) SessionImpl#isSupportedOption: Skip descriptor evaluation if descriptor has not been loaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-3143: ------------------------ Summary: SessionImpl#isSupportedOption: Skip descriptor evaluation if descriptor has not been loaded (was: SessionImpl#isSupportedOption: Skip descriptor evaluation if descriptor has not been load) > SessionImpl#isSupportedOption: Skip descriptor evaluation if descriptor has not been loaded > ------------------------------------------------------------------------------------------- > > Key: JCR-3143 > URL: https://issues.apache.org/jira/browse/JCR-3143 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Reporter: angela > Priority: Minor > Fix For: 2.3.4 > > > followup issue for JCR-3076. > as jukka stated changing the jcr-server to serve the repository-descriptor without mandating a successful login would > require quite some changes on the server side as the current flow demands a successful repository login in order > to be access any resource including the root resource that acts as parent for all (available) workspaces. since the > repository-descriptor report has be requested one of the resources it also mandates a successful login although > retrieving descriptors on the jcr-level is possible when just having the repository at hand. > on the other hand i would assume that the descriptor functionality present on the Repository is rarely used. > therefore i would suggest to just relax the check for supported options in the jcr2spi session implementation > and skip the evaluation if the descriptor isn't available at all. consequently the failure of a non-supported > feature would be postponed to the point it reaches the SPI (instead of informing the API consumer upfront). > on the other hand supported operations would not fail just because the descriptors have not been loaded. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira