-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] BookmarksDeleted notification not send on index (Elsa 2.14.1) #5408
Comments
Based on the context provided, it appears that there is a potential issue with the The expected behavior, as described, is that the The correct code, according to the expected behavior, should be: await _publisher.Publish(new BookmarksDeleted(workflowInstanceId, oldBookmarks), cancellationToken); This would ensure that the If you are experiencing this issue, it would be advisable to report it to the maintainers of the Elsa Workflow library so they can investigate and address the potential bug. You can do this by creating an issue on the official Elsa GitHub repository. This comment was generated by Glime. |
Description
On indexing bookmarks there are no any notifications BookmarksDeleted for removed bookmarks
Steps to Reproduce
execute method IndexBookmarksAsync() in class BookmarkIndexer.cs
This method removes oldBookmarks and creates new(bookmarks):
But BookmarksDeleted notification sends NOT for oldBookmarks, but for 'entities' - bookmars that created.
Is it bug at code?
May be correct code is:
await _publisher.Publish(new BookmarksDeleted(workflowInstanceId, oldBookmarks), cancellationToken);
Expected Behavior
BookmarksDeleted send for deleted bookmars
Actual Behavior
BookmarksDeleted don't send for actually deleted bookmars
The text was updated successfully, but these errors were encountered: