From db62844fd745f5f378aecb73be98bc89ddf110ef Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Sat, 27 Jan 2018 19:28:55 +0100 Subject: [PATCH] Big fat warning for the status. --- .../HandleRules/Actions/AlgoliaActionHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Squidex.Domain.Apps.Core.Operations/HandleRules/Actions/AlgoliaActionHandler.cs b/src/Squidex.Domain.Apps.Core.Operations/HandleRules/Actions/AlgoliaActionHandler.cs index 345818741..e14d221b4 100644 --- a/src/Squidex.Domain.Apps.Core.Operations/HandleRules/Actions/AlgoliaActionHandler.cs +++ b/src/Squidex.Domain.Apps.Core.Operations/HandleRules/Actions/AlgoliaActionHandler.cs @@ -53,6 +53,11 @@ namespace Squidex.Domain.Apps.Core.HandleRules.Actions { case ContentCreated created: { + /* + * Do not add the status property here. Sometimes the published event is faster and therefore + * a content item would never become published. We have to find a way to improve the scheduling + * of rules first before we can fix it. + */ ruleDescription = $"Add entry to Algolia index: {action.IndexName}"; ruleData["Content"] = new JObject( new JProperty("id", contentEvent.ContentId),