Notifications sent to Slack contains wrong dates and description for announcements
Affected module Backend
Describe the bug
Slack notification for announcements contains incorrect Started At , End At (dates in year 57860) and unrendered html tags in the description.
To Reproduce
Adding a Settings > Notifications > Add Alert
Source: Announcements Destination: Slack https://hooks.slack.com/services/xxxx/yyy/zzzz (not webhook, but Slack)
The slack channel receives the messages but
- the dates are wrong
+57860-02-20 10:19:53 - the description contains unrendered HTML tags
Description: <p>blah blah blah</p> <p></p>
Expected behavior
- Dates should render properly
- Description should render the html tags or strip the html tags
- Preferable the slack message should mention somewhere that this was an Announcement. Right now it shows
Change Event Details,Event Type: threadCreated,Entity Type: THREAD, I guess I will write a feature request for that later.
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: 1.10.5
- OpenMetadata Ingestion package version:
Additional context Add any other context about the problem here.
@ecerulm-st This will be fixed in 1.11 release. Thanks for reporting. Reference-https://openmetadata.slack.com/archives/C02B6955S4S/p1763730454906779?thread_ts=1763725705.453009&cid=C02B6955S4S
It seems that there was significant changes to the slack notification tempaltes in 1.11.0
So it's solved there