directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r415458 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java
Date Mon, 19 Jun 2006 23:03:31 GMT
Author: ersiner
Date: Mon Jun 19 16:03:31 2006
New Revision: 415458

URL: http://svn.apache.org/viewvc?rev=415458&view=rev
Log:
Made the DeleteSPParamInjector use the new Lookup Bypass for filtering operational attrs.

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java?rev=415458&r1=415457&r2=415458&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java
Mon Jun 19 16:03:31 2006
@@ -57,7 +57,11 @@
         public Object inject() throws NamingException
         {
             DirectoryPartitionNexusProxy proxy = getInvocation().getProxy();
-            Attributes deletedEntry = proxy.lookup( deletedEntryName, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
+            /**
+             * Using LOOKUP_EXCLUDING_OPR_ATTRS_BYPASS here to exclude operational attributes
+             * especially subentry related ones like "triggerSubentries".
+             */
+            Attributes deletedEntry = proxy.lookup( deletedEntryName, DirectoryPartitionNexusProxy.LOOKUP_EXCLUDING_OPR_ATTRS_BYPASS
);
             return deletedEntry;
         };
     };



Mime
View raw message