directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r111644 - /incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java
Date Sun, 12 Dec 2004 08:25:01 GMT
Author: akarasulu
Date: Sun Dec 12 00:24:58 2004
New Revision: 111644

URL: http://svn.apache.org/viewcvs?view=rev&rev=111644
Log:
Fix for schema problem.

Modified:
   incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java

Modified: incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java
Url: http://svn.apache.org/viewcvs/incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java?view=diff&rev=111644&p1=incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java&r1=111643&p2=incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java&r2=111644
==============================================================================
--- incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java
(original)
+++ incubator/directory/eve/trunk/dib/src/java/org/apache/eve/jndi/ibs/EveExceptionService.java
Sun Dec 12 00:24:58 2004
@@ -398,6 +398,18 @@
         if ( invocation.getState() == InvocationStateEnum.PREINVOCATION )
         {
             String msg = "Attempt to search under non-existant entry: ";
+
+            if ( base.size() == 0 )
+            {
+                return;
+            }
+            
+            Attribute attr = nexus.getRootDSE().get( "subschemaSubentry" );
+            if ( ( ( String ) attr.get() ).equalsIgnoreCase( base.toString() ) )
+            {
+                return;
+            }  
+
             assertHasEntry( msg, base, invocation );
         }
     }

Mime
View raw message