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 E985ECFC5 for ; Sun, 27 May 2012 09:47:32 +0000 (UTC) Received: (qmail 47429 invoked by uid 500); 27 May 2012 09:47:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 46916 invoked by uid 500); 27 May 2012 09:47:30 -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 46722 invoked by uid 99); 27 May 2012 09:47:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 May 2012 09:47:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 6710D142859 for ; Sun, 27 May 2012 09:47:23 +0000 (UTC) Date: Sun, 27 May 2012 09:47:23 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1948955589.6848.1338112043426.JavaMail.jiratomcat@issues-vm> In-Reply-To: <750539408.60906.1336991448410.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-3307) JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities 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-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-3307: ------------------------------- Fix Version/s: (was: 2.6) > JCR test org.apache.jackrabbit.test.api.version.MergeActivityTest doesn't check whether the repository supports activities > -------------------------------------------------------------------------------------------------------------------------- > > Key: JCR-3307 > URL: https://issues.apache.org/jira/browse/JCR-3307 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-jcr-tests > Affects Versions: 2.4.1 > Reporter: Horia Chiorean > Assignee: Julian Reschke > Fix For: 2.4.2 > > > The test: org.apache.jackrabbit.test.api.version.MergeActivityTest, during setup (the initNodes method call) does not handle the case when activities are not supported by the repository. Therefore, if the versionManager.createActivity("foobar") call fails with an UnsupportedRepositoryOperationException, the whole test fails. > The setup of the test should do something similar to org.apache.jackrabbit.test.api.version.ActivitiesTest: checkSupportedOption(Repository.OPTION_ACTIVITIES_SUPPORTED); -- 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