fix(central-ui): notification deep link and relay use the stored N-form NotificationId
Notify.Send mints NotificationId as Guid "N" (no dashes) and the outbox parses it back into the audit row's CorrelationId, so the Flow Debugger's Notify node linked and relayed a "D" string the Notifications table never matches (found live: the report opened empty). The link and RetryNotificationRequest now use "N", and the Notification report normalises any Guid-shaped ?correlationId= to "N" so Audit Log and Flow Debugger callers both land. Claude-Session: https://claude.ai/code/session_01NcMG6xXdsJbmD2wYAgkK29
This commit is contained in:
@@ -120,7 +120,7 @@ public sealed class FlowDebugServiceTests : IDisposable
|
||||
Assert.True(result.Success, result.Message);
|
||||
Assert.Contains("re-queued", result.Message);
|
||||
var request = Assert.IsType<RetryNotificationRequest>(Assert.Single(_outboxRequests));
|
||||
Assert.Equal(c.ToString("D"), request.NotificationId);
|
||||
Assert.Equal(c.ToString("N"), request.NotificationId);
|
||||
Assert.Equal("tester", request.RequestedBy);
|
||||
Assert.Empty(_siteCallRequests);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user