We deactivated indexing when we creating the document (as you suggested awhile 
ago) but now
we are getting exceptions (NullException) in 
IndexingDocumentModelPrefetchedListener, when testing if option 
BLOCK_SYNC_INDEXING is set to true. The stacktrace says that the exception is 
thrown by this code :
        if (dm.getContextData(EventMessage.BLOCK_SYNC_INDEXING) != null
                && (Boolean) 
dm.getContextData(EventMessage.BLOCK_SYNC_INDEXING) == true) {
            log.debug("sync indexing is blocked for doc " + 
dm.getRef().toString());
            return;
        }
question: is right to call getRef() method at this moment ?
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to