OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Notifications sent to Slack contains wrong dates and description for announcements

Open ghost opened this issue 1 year ago • 2 comments

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)

Image

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>
Image

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.

ghost avatar Nov 21 '25 12:11 ghost

@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

nikhilchennam avatar Nov 21 '25 13:11 nikhilchennam

It seems that there was significant changes to the slack notification tempaltes in 1.11.0

Image

So it's solved there

ecerulm avatar Nov 21 '25 13:11 ecerulm