Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 84099 invoked from network); 11 Sep 2009 15:14:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 15:14:14 -0000 Received: (qmail 27682 invoked by uid 500); 11 Sep 2009 15:14:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 27610 invoked by uid 500); 11 Sep 2009 15:14:13 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 27602 invoked by uid 99); 11 Sep 2009 15:14:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 15:14:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.78.24 as permitted sender) Received: from [74.125.78.24] (HELO ey-out-2122.google.com) (74.125.78.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 15:14:02 +0000 Received: by ey-out-2122.google.com with SMTP id 4so301614eyf.9 for ; Fri, 11 Sep 2009 08:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=91ATyirly0qTlA5MqTKa+StQHdKGXTBDdm1lhsDAjmg=; b=vDMNRVRVgzUpcV1v3M8k3gsD7KfpL+29mpYQsp1V6qJwCyhkoEaMpOeWTjFIlNM0sR zTk38s8zajSAnNubY528cGYy1JFAhgj/DtMHwj5W9b5Ie2Qy99r3Hyzro9nrLhfbUtdX zVXH3qYv5NjFLDKAm+RnhMJiNUEFR/kuLMO6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=FCtzzF13txL0o0i50E/j34yso6cD6zSJDaYr3leegx8814WHORRTQVyGuKMei9Jfva N8CyqNxiqR+muoKy1UzSswZuQUg/7H6zTKCtyQSy8i+ED1EUlm4EM7ONHbG44t/+VH2D qK/K1N0RB+p64+C+RR7ycB+QSMY7GD/uo3Wh4= Received: by 10.211.131.39 with SMTP id i39mr3385966ebn.98.1252682022038; Fri, 11 Sep 2009 08:13:42 -0700 (PDT) Received: from ?192.168.0.51? (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id 7sm457228eyg.42.2009.09.11.08.13.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Sep 2009 08:13:40 -0700 (PDT) Sender: Emmanuel Lecharny Message-ID: <4AAA6927.1050804@nextury.com> Date: Fri, 11 Sep 2009 17:13:43 +0200 From: Emmanuel Lecharny User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Schema refactory status References: <4AAA4BCF.5030002@nextury.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Alex Karasulu wrote: > Hi Emmanuel, > > On Fri, Sep 11, 2009 at 4:08 PM, Emmanuel Lecharny wrote: > > >> Hi, >> >> core-integ tests are being fixed slowly but surely. As of today, 164 tests >> are failing, out of 399. >> >> I still have some issues on modifications as we are trying to update some >> data into a cn=schemaModifications,ou=schema entry. This entry does not >> exist, and I don't know what it is supposed to contain. This impact a lot of >> tests as many of them are enabling a schema, which means a modification in >> the associated entry. >> >> >> > cn=schemaModifications is used to track timestamps on the schema I think. > I'll have to look at it again though. Leave this to me this weekend, I > think I can scrub it clean. > I have added the ou=schemaModifications ldif file in ldap-schema resources, but it's not enough. The RegistrySynchronizerAdaptor class needs to be fixed in order to update this entry when a schema element is modified. Make me think that when we have updated the schema on disk, a second modification is done to update the modifyTimestamp and modifiersName operational attributes. In other words, we write the entry twice on disk. A waste, IMHO. We should inject those Operational attribute in the list of modifications and apply them directly. That will have a direct impact on the OperationalAttribute interceptor. -- -- cordialement, regards, Emmanuel L�charny www.iktek.com directory.apache.org