[BUG] Alerts of type watchlist.hit.query.* from My Watchlists Feed Missing description Data Member #258
Labels
Comments
|
Updated bug report: this is only an issue where the feed_name is "My Watchlists" - since all alerts are technically of the watchlist.hit type, it might have been confusing to look at a watchlist.hit.query.* type not from the "My Watchlists" feed, which would have the description data member. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am seeing this behaviour on: (please complete the following information):
Describe the bug
Alert objects of type watchlist.hit.query.process and watchlist.hit.query.binary from the "My Watchlists" feed (custom watchlists) are missing the "description" data member. This field should be available and contain a value matching the description of the watchlist.
Steps to Reproduce
Steps to reproduce the behavior (Provide a log message if relevant):
Expected behavior
Both watchlist.hit.query.process and watchlist.hit.query.binary from "My Watchlists" will have a description data member.
Screenshots
N/A
Additional context
A workaround could be to query the Watchlist and pull it's description like so:
This could be used to pull the description manually, but this would add unnecessary overhead. Additionally, the biggest problem with this workaround stems from deleted watchlists where the ID no longer exists. A better solution would be to provide access to it directly within the Alert API, like other alert types have.
The text was updated successfully, but these errors were encountered: