Hello,
I currently have a problem where the IndexBuildFinished notification doesn't fire when an Index has finished building.
Also this is the only notification subscriber that isn't working. Am I missing something or is this a bug?
Here's the bare code:
namespace Bluedesk.NotificationSubscribers { [Dynamicweb.Extensibility.Notifications.Subscribe(Dynamicweb.Notifications.RepositoryNotification.Index.IndexBuildFinished)] class IndexNotification : Dynamicweb.Extensibility.Notifications.NotificationSubscriber { public override void OnNotify(string notification, Dynamicweb.Extensibility.Notifications.NotificationArgs args) { if (args == null) return; if (!(args is Dynamicweb.Notifications.RepositoryNotification.Index.IndexBuildFinishedArgs)) return; Dynamicweb.Notifications.RepositoryNotification.Index.IndexBuildFinishedArgs builderArgs = (Dynamicweb.Notifications.RepositoryNotification.Index.IndexBuildFinishedArgs)args; } } }
Thanks in advance,
Justin.