Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54956F749 for ; Tue, 23 Apr 2013 10:03:02 +0000 (UTC) Received: (qmail 90879 invoked by uid 500); 23 Apr 2013 10:03:01 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 90655 invoked by uid 500); 23 Apr 2013 10:02:56 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 90601 invoked by uid 99); 23 Apr 2013 10:02:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 10:02:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anchela@adobe.com designates 64.18.1.77 as permitted sender) Received: from [64.18.1.77] (HELO exprod6og126.obsmtp.com) (64.18.1.77) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 10:02:50 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob126.postini.com ([64.18.5.12]) with SMTP ID DSNKUXZcNTmzSxwWOanwzDimS+HVtXZd0Dqi@postini.com; Tue, 23 Apr 2013 03:02:29 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r3N9xF1v017783 for ; Tue, 23 Apr 2013 02:59:16 -0700 (PDT) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id r3NA2RGU008472 for ; Tue, 23 Apr 2013 03:02:27 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.298.1; Tue, 23 Apr 2013 03:02:26 -0700 Received: from angela.corp.adobe.com (10.132.1.90) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.298.1; Tue, 23 Apr 2013 11:02:25 +0100 Message-ID: <51765C31.2090802@adobe.com> Date: Tue, 23 Apr 2013 12:02:25 +0200 From: Angela Schreiber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Subject: Re: [Broken] apache/jackrabbit-oak#1340 (trunk - d395f64) References: <5175530969f50_28d9b41461fa@a30abe41-ba62-498f-bc08-8c5df7fc099f.mail> <51764A51.90004@adobe.com> In-Reply-To: <51764A51.90004@adobe.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org the basic problem was that the test for #isHidden was plain wrong and we didn't notice the problem as hidden items would be treated like regular once :) since we have an open issue for the hidden items anyway (OAK-753) i decided to just omit permission evaluation for the hidden items... sorry for the trouble angela On 4/23/13 10:46 AM, Angela Schreiber wrote: > hi alex > > i will take a look... could be that this is related to a > change of mine and the mess we are having with the hidden > items. > > angela > > On 4/23/13 10:42 AM, Alex Parvulescu wrote: >> The actual error is OakAccess0000: Access denied [1] >> >> Does anybody have an idea what config is missing from the lucene repository >> init code [0]? >> >> thanks, >> alex >> >> [0] >> http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/LuceneOakRepositoryStub.java?view=markup >> >> >> [1] >> testSimpleQuery1(org.apache.jackrabbit.core.query.SQLTest) Time elapsed: >> 6.43 sec<<< ERROR! >> javax.jcr.AccessDeniedException: Failed to register namespace mapping from >> test to http://www.apache.org/jackrabbit/test >> at >> org.apache.jackrabbit.oak.plugins.name.ReadWriteNamespaceRegistry.registerNamespace(ReadWriteNamespaceRegistry.java:108) >> at >> org.apache.jackrabbit.test.AbstractJCRTest.setUp(AbstractJCRTest.java:389) >> at >> org.apache.jackrabbit.core.query.AbstractQueryTest.setUp(AbstractQueryTest.java:53) >> at junit.framework.TestCase.runBare(TestCase.java:132) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> at junit.framework.TestResult.run(TestResult.java:113) >> at junit.framework.TestCase.run(TestCase.java:124) >> at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456) >> at junit.framework.TestSuite.runTest(TestSuite.java:243) >> at junit.framework.TestSuite.run(TestSuite.java:238) >> at junit.framework.TestSuite.runTest(TestSuite.java:243) >> at >> org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29) >> at >> org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67) >> at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown >> Source) >> at java.lang.Thread.run(Thread.java:722) >> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: >> OakAccess0000: Access denied >> at >> org.apache.jackrabbit.oak.security.authorization.permission.PermissionValidator.checkPermissions(PermissionValidator.java:188) >> at >> org.apache.jackrabbit.oak.security.authorization.permission.PermissionValidator.propertyChanged(PermissionValidator.java:97) >> >> >> >> >> On Mon, Apr 22, 2013 at 5:11 PM, Travis CIwrote: >> >>> Build Update for apache/jackrabbit-oak >>> ------------------------------------- >>> >>> Build: #1340 >>> Status: Broken >>> >>> Duration: 23 minutes and 13 seconds >>> Commit: d395f64 (trunk) >>> Author: Angela Schreiber >>> Message: OAK-527: permissions (wip) >>> >>> git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@147055313f79535-47bb-0310-9956-ffa450edef68 >>> >>> View the changeset: >>> https://github.com/apache/jackrabbit-oak/compare/1a87d655a51b...d395f64ad8ac >>> >>> View the full build log and details: >>> https://travis-ci.org/apache/jackrabbit-oak/builds/6537803 >>> >>> -- >>> >>> You can configure recipients for build notifications in your .travis.yml >>> file. See http://about.travis-ci.org/docs/user/build-configuration >>> >>> >>> >>>