From api-return-615-apmail-directory-api-archive=directory.apache.org@directory.apache.org Mon Mar 23 08:12:17 2015 Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F70417C10 for ; Mon, 23 Mar 2015 08:12:17 +0000 (UTC) Received: (qmail 76280 invoked by uid 500); 23 Mar 2015 08:12:17 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 76245 invoked by uid 500); 23 Mar 2015 08:12:17 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 76234 invoked by uid 99); 23 Mar 2015 08:12:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 08:12:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [46.29.2.130] (HELO hermes.evolveum.com) (46.29.2.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 08:11:52 +0000 Received: from localhost (localhost [127.0.0.1]) by hermes.evolveum.com (Postfix) with ESMTP id 62A39369F83 for ; Mon, 23 Mar 2015 09:12:39 +0100 (CET) Received: from hermes.evolveum.com ([127.0.0.1]) by localhost (hermes.evolveum.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id geA73c8HAW_z for ; Mon, 23 Mar 2015 09:12:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hermes.evolveum.com (Postfix) with ESMTP id D388F369F84 for ; Mon, 23 Mar 2015 09:12:38 +0100 (CET) X-Virus-Scanned: amavisd-new at hermes.evolveum.com Received: from hermes.evolveum.com ([127.0.0.1]) by localhost (hermes.evolveum.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Eu8c2zzXmQdh for ; Mon, 23 Mar 2015 09:12:38 +0100 (CET) Received: from [10.1.1.55] (static-dsl-137.87-197-146.telecom.sk [87.197.146.137]) by hermes.evolveum.com (Postfix) with ESMTPSA id B4AF7369F83 for ; Mon, 23 Mar 2015 09:12:38 +0100 (CET) Message-ID: <550FCAA6.2030901@evolveum.com> Date: Mon, 23 Mar 2015 09:11:18 +0100 From: Radovan Semancik User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: OpenLDAP schema References: <550AE7DA.60807@evolveum.com> <550B0293.7030409@gmail.com> <550B1829.70106@evolveum.com> <550B4F5F.8050501@gmail.com> <550C065A.3010009@evolveum.com> <550C1E44.6010208@gmail.com> <550C23DA.40206@evolveum.com> <550C37CA.80504@evolveum.com> In-Reply-To: <550C37CA.80504@evolveum.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 03/20/2015 04:07 PM, Radovan Semancik wrote: > https://github.com/Evolveum/directory-shared/commit/b941ff690a41cd03b31679759dcf2fb367b1cb83 > I had a closer look at this. Tests are failing after my modification. The reason seems to be this: (Registries:1344) public List add( List errors, SchemaObject schemaObject, boolean check ) throws LdapException { // Relax the registries boolean wasRelaxed = isRelaxed; setRelaxed(); ... This causes that operations that failed before my modifications are no longer failing as this explicitly sets relaxed mode. Is there any particular reason why Registries.add(...) sets relaxed mode? -- Radovan Semancik Software Architect evolveum.com