patrickomni / omnimobileserver

Stubbed repository; using issues lists
0 stars 0 forks source link

Active Alerts grid - "Message" cell for alert row is empty in Test Tanks #254

Closed davroth closed 9 years ago

davroth commented 9 years ago

This may be "by design" w/ no msg configured, but want to capture it

  1. Browse to https://nettelpong.azurewebsites.net/sv#, Firefox 38, Windows 8.1, login as dave, select Test Tank
  2. Set time filter to last 3 days and observe Active Alerts grid has a row

Expected - Message cell tells me what is wrong

Actual - Message cell is blank capture - empty message cell

patrickomni commented 9 years ago

Verified this was left over development cruft on test data. I retriggered the alert and this now say the full message image

davroth commented 9 years ago

data problem - fixed

davroth commented 9 years ago

Many of the Active Alerts rows for Sempra are also showing blank message lines; are these also the result of dirty test data?

peters95 commented 9 years ago

taking a peek now

peters95 commented 9 years ago

I believe this related to bad test data.. please see the below data output of 30 days of alerts for one of sempura's site = 37

Id DeviceId ResolvedRowId MessageType Severity StatusId MessageResourceId RulesId PrimaryData1 ActivityURL FinalMessageText DeviceLabelId SiteId ContactId InsertDate UpdateDate 18868 7 1396124 1 1 0 Alert.Message.Traps.0 1351 0 NULL Trap #1.1 has been triggered. 0013A20040B75626 37 1 2015-07-22 12:59:33.120 NULL 18866 7 1396118 1 1 0 Alert.Message.Traps.0 1351 0 NULL Trap #1.1 has been triggered. 0013A20040B75626 37 1 2015-07-22 12:06:49.980 NULL 18839 1 1395918 1 1 1 Alert.Message.Traps.0 1350 0 NULL NULL 0013A20040B752CE 37 1 2015-07-20 17:13:03.350 NULL 18838 1 1395916 1 1 1 Alert.Message.Traps.0 1350 0 NULL NULL 0013A20040B752CE 37 1 2015-07-20 17:12:51.877 NULL 16483 1 1374599 1 1 2 Alert.Message.Traps.0 1290 0 NULL Trap #1-2 has been triggered. 0013A20040B752CE 37 1278 2015-07-01 07:25:14.057 NULL

if you notice finalmessagetext is null twice. this is why the message text is empty in the alerts grid.

patrickomni commented 9 years ago

This was midstream development