Hi,

On 29/10/2019 10:51, Sergey Mikhno wrote:
Dear Emmanuel

Our Apache DS sever produces a huge amount of warnings with the following
message

undefined filter based on undefined attributeType not evaluted at all.
Returning empty enumeration.

What attributeType are you using in your filter? Or more precisely, what is the filter in use ?



29.10.2019 08:17:44,796 WARN  [pool-6-thread-15719]
org.apache.directory.server.core.normalization.NormalizationInterceptor.search():294

Hmmmm... What version of ApacheDS are you using ?



     - undefined filter based on undefined attributeType not evaluted at
all.  Returning empty enumeration.

it looks like this in code

// Normalize the filter
filter = ( ExprNode ) filter.accept( normVisitor );

if ( filter == null )
{
line 294:    LOG.warn( "undefined filter based on undefined
attributeType not evaluted at all.  Returning empty enumeration." );
     return new EntryFilteringCursorImpl( new EmptyCursor<Entry>(),
searchContext, schemaManager );
}

Is it possible to find out without debugging, why
FilterNormalizingVisitor returns null

from normalizeValue method?

What would be needed is the search filter itself.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to